![]() ![]() In the following batch file, I have hard-coded the image size (Width and the Height) and the image quality (the JPEG compression percentage), but you can easily make them configurable offįOR %%y IN (%1) DO Converting %%y to low\%%yĬ:\ProgramData\chocolatey\lib\imagemagick.tool\tools\convert.exe -auto-level -strip -resize 2000 -quality ? "%%y" "output\%%y" ![]() You can download and install from here, or use a package manager like ChocolateY for Windows (like I have done below) to install ImageMagick package. #Batch image converter context windwos mac osImageMagick is open-source and free! An awesome tool chest that offers numerous image editing functions, and, it runs on Linux, Windows, Mac OS X, Android and iOS. Earlier, I was using Adobe Photoshop Elements’ “ Process Multiple Files” applet for this purpose. In this post, I am sharing a simple batch file to resize all the images in a folder using the powerful image manipulation library called ImageMagick. ![]() A few weeks back, I had shared a batch file to backup my WordPress blog running in Windows. Having been a Windows GUI guy for nearly two decades, I am rediscovering the charm of command-line and Windows Batch files to automate repetitive tasks. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |