Page 1 of 1

Orient & auto-orient runs but only works in certain case

Posted: 2006-12-29T16:26:37-07:00
by likwidoxigen
Image Magick 6.2.8

This only effects convert not mogrify.

Code: Select all

convert -auto-orient 12-28-06* test
Will not orient images at all as long as there is a wild card character in there however mogrify will work.

Also forcing any image orientation fails

Code: Select all

mogrify -orient left-bottom DSC_0096.jpg
This command processes and runs and re-outputs the image, however nothing happens.

Posted: 2006-12-29T18:21:56-07:00
by magick
Auto orientation only works if the image has an EXIF profile and the orientation is set. The orient option sets the orientation but does not actually reorient the image to match. If you still feel there is a problem post a URL to a set of images and the command you used so we can download them and reproduce the problem.

Posted: 2006-12-30T00:13:13-07:00
by likwidoxigen
magick wrote: Auto orientation only works if the image has an EXIF profile and the orientation is set. The orient option sets the orientation but does not actually reorient the image to match. If you still feel there is a problem post a URL to a set of images and the command you used so we can download them and reproduce the problem.


Yes i know, it wouldn't work with mogrify if there were no exif data.

I've done more testing and the problem is that it seems to hang on to the orientation of the first one. For instance if the first image in the *.JPG sequence that gets picked up is oriented incorrectly it will do that image then stop if the next one is oriented correctly. I can send you files and scripts to show you what i mean.

Posted: 2006-12-30T09:32:44-07:00
by magick
Post a URL to your images and script to illustrate the problem, or send us a private message.

Posted: 2006-12-30T16:37:52-07:00
by likwidoxigen
magick wrote: Post a URL to your images and script to illustrate the problem, or send us a private message.


First example, there's a readme in there with a bash script that run the convert command.
http://scripts.and-a-half.com/IMError1.zip
Second example, same deal, bash script and readme.
http://scripts.and-a-half.com/IMError2.zip

And i have it set up so that the directory listing is available http://www.scripts.and-a-half.com

Posted: 2006-12-30T17:26:07-07:00
by magick
We can reproduce the problem you posted. We have patched ImageMagick 6.3.1-6 Beta to fix the problem. It will be available by tommorrow. Thanks.

Posted: 2006-12-30T17:30:47-07:00
by likwidoxigen
magick wrote: We can reproduce the problem you posted. We have patched ImageMagick 6.3.1-6 Beta to fix the problem. It will be available by tommorrow. Thanks.


You guys F*in rock. Thank you so much!