I was having issues converting images for one of my clients the other day. I have been using ImageMagick for some time and it has worked great for me. But, for some reason a couple of images were rotating to a horizontal view when the original photo I took was vertical.

Social Distance Laptop Sleeve Get Inspired
Protect your laptop in style—get this snug, lightweight laptop sleeve! To prevent any scratch marks, it contains an internal padded zipper and its interior is fully lined with faux fur. What’s more, it’s made from a material that’s resistant to water, oil, and heat, making sure your laptop sleeve looks as sharp as you any day of the week!
• 100% neoprene
• Product weight:
13”—6.49 oz. (22…
After looking at some cool hat designs I got some inspiration and found a way to keep the orientation of my original photos. It was quite simple this time. You need to add -auto-orient option to the convert command, for example:
convert thisimage.jpg -auto-orient goodimage.jpg
I found that jpg images have a header flag which specifies how the image was taken by your camera in the EXIF data. Give it a try and contact me if you have any questions.
Some of my coffee mugs and T-Shirt designs
- Rsync Coffee Mug with Color Inside 11oz$20.00
- !False its Funny because its True T-Shirt$25.00
- Code with Coffee Short-Sleeve Unisex T-Shirt$24.00 – $28.00