Img = img.resize((new_width, new_height), Image.ANTIALIAS) Img = Image.open(img_path) # puts our image to the buffer of the PIL.Image object You do not need the semicolons ( ), I keep them just to remind myself of syntax of languages I use more often. In this case, it will adjust the height to match the width of the new image, based on the initial aspect ratio, asp_rat, which is float (!).īut, to adjust the width to the height, instead, you just need to comment one line and uncomment the other in the else loop. Batch Image Cropper is another nice tool to have in your arsenal.I will also add a version of the resize that keeps the aspect ratio fixed. Irfan View is my goto batch image resizer, though I have been using Flexxi recently. Note: The application opens a "Thank you" page on the developer's website when you run it for the first time. The application is Qt based and runs on Windows XP and above. When you have finalized the settings and chosen the format, click on the convert button on the toolbar or use the F5 key to do the same.Īnd the images will be processed in a few moments.Ī portable version of Converseen is available at the SourceForge page. To work with PDFs, you'll need to install Ghostscript. If you're working with images that have a transparent background (common in PNGs), you can use the "replace background" option to use a solid color instead.Ĭonverseen supports over 100 image formats including JPG, PNG, BMP, GIF, PSD, TIFF, SVG, PDF, and more. The "Image Settings" button opens a window that can be used to control the image quality, the compression level and interpolation method. Set the conversion format using the menu on the right pane. This isn't the most obvious way, a button could have been useful, as would a help page. To stick the floating window back to the GUI drag it to either edge of the screen. Note: There is a button above the Actions Panel that can be used to detach it from the interface. The renamer tool lets you add a prefix or suffix with your custom string or a progressive number. You can set the output folder where the processed images should be saved in. Scroll down even further in the Actions Panel to view the Output options. The Rotate and Flip has options to rotate the image 90° clockwise/anti-clockwise or 180°, or to flip the picture horizontally or vertically. The resolution of the images can be changed as well. The Dimensions tab can be used to scale the image in pixels or percentage, while optionally maintaining the ratio. If you scroll down the pane, you'll see more options: Dimensions & Rotate and Flip. The Actions Panel displays the preview of a selected image along with its file type, size and resolution. Use the Edit menu to check/uncheck all files in a single click. A checkbox is placed next to each image in the list, and only the marked ones will be converted. It will display the file name, type, and size of each individual image you added to the program. Use the File menu or the Open Images/Add Images button to get starte, or just drag and drop some files to the right pane. A menu bar and a toolbar are placed at the top of the screen. It is based on ImageMagick, the open source image editor.Ĭonverseen's interface is divided into two panes: the actions panel is to the left, and to the right you have the convert list. The program can be used to convert, resize, rotate and flip several images with a few clicks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |