I recently wrote an article on how to batch resize images in Adobe Photoshop CS4. If you have been reading any of my recent articles on the site you will know by know that I had a laptop hard drive crash and I lost some settings. One of the settings was the Photoshop Action I had created to batch resize images. Anyhow while configuring the Action I decided to play around more with Photoshop to see if there was another way to resize images and sure enough I found a better way if you don’t mind saving the images as JPEG’s instead of GIF’s.
There are a ton of shareware applications that will allow you to convert image files to PDF for free however they typically leave text about their product all over the PDF until you pay for the application. I was able to locate and successfully convert some jpeg files using a freeware application from CNET download center. It is very easy to use however you have to make sure your images are a certain size before converting or it will not work properly. Below are step by step instructions on how to convert multiple image files into one multi page PDF document. Make sure that each of your image files is 600×800 pixels in size or smaller if you want the entire image to fit onto the PDF page. You can also adjust the “Page Size” setting if you prefer to have larger than normal PDF pages.
ImageMagick is a really cool product. Not only is it open source but its very powerful tool. My goal was to figure out how to batch resize images while keeping one side 640 pixels wide. I ended up using ImageMagick’s mogrify by issuing the command below at my CentOS shell prompt.
mogrify -resize x640 *.jpg
mogrify -resize 640 *.jpg
Depending on which side you want to be 640 pixels. If you would like for image magic to make the largest side 640 and constrain the proportions use the following command.