- Python Multimedia
- Ninad Sathaye
- 205字
- 2021-08-03 15:27:41
Project: Thumbnail Maker
Let's take up a project now. We will apply some of the operations we learned in this chapter to create a simple Thumbnail Maker utility. This application will accept an image as an input and will create a resized image of that image. Although we are calling it a thumbnail maker, it is a multi-purpose utility that implements some basic image-processing functionality.
Before proceeding further, make sure that you have installed all the packages discussed at the beginning of this chapter. The screenshot of the Thumbnail Maker dialog is show in the following illustration.

The Thumbnail Maker GUI has two components:
- The left panel is a 'control area', where you can specify certain image parameters along with options for input and output paths.
- A graphics area on the right-hand side where you can view the generated image.
In short, this is how it works:
- The application takes an image file as an input.
- It accepts user input for image parameters such as dimensions in pixel, filter for re-sampling and rotation angle in degrees.
- When the user clicks the OK button in the dialog, the image is processed and saved at a location indicated by the user in the specified output image format.
推薦閱讀
- 社會科學數據處理軟件應用
- 商用級AIGC繪畫創作與技巧(Midjourney+Stable Diffusion)
- Swing Extreme Testing
- Joomla! 1.5 SEO
- AI圖像處理:Photoshop+Firefly后期處理技術基礎與實戰
- Plone 3 Multimedia
- Object/Oriented JavaScript
- Liferay Portal Systems Development
- 從零開始:Illustrator CC中文版基礎培訓教程
- 剪映+Vlog+Premiere短視頻制作從新手到高手
- Python氣象應用編程
- iOS智能手機APP界面設計實戰教程
- 卷珠簾:Photoshop古風插畫技法完全教程
- EJB 3.1 Cookbook
- AutoCAD 2016中文版從新手到高手