mogrify and winXP's shell extension don't play well together
Posted: 2009-06-08T23:11:47-07:00
Windows XP reports an error when attempting to rotate an image via the shell subsequent to the use of Imagemagick's mogrify.exe. Perhaps header information or something is being corrupted in a way that makes Windows unable to read the file?
System configuration:
Windows XP, SP3 and all updates installed as of 08 June 2009
Imagemagick v. 6.5.2-6 2009-05-16 Q16
Repro steps:
1. go to: http://tinyurl.com/kvclew
2. right click, save image to local directory FOO
3. open command window in directory FOO
4. execute 'mogrify -quality 80 IMG_0986.JPG'
5. open explorer window in directory FOO and set view to "thumbnails"
6. right click on IMG_0986.JPG and attempt to rotate clockwise
7. windows gives an error: "You cannot rotate this image..."
Oddly, note that if you use the windows explorer to rotate the image before using mogrify, then subsequent rotations will also work (!). That is, this sequence works fine:
1. go to: http://tinyurl.com/kvclew
2. right click, save image to local directory FOO
3. open explorer window in directory FOO and set view to "thumbnails"
4. right click on IMG_0986.JPG and to rotate clockwise (works ok)
5. open command window in directory FOO
6. execute 'mogrify -quality 80 IMG_0986.JPG'
7. in same explorer window, right click on IMG_0986.JPG and attempt to rotate clockwise. it still works!
If I can be of any help, please let me know. Thanks very much for your help with a great and tremendously useful package!
System configuration:
Windows XP, SP3 and all updates installed as of 08 June 2009
Imagemagick v. 6.5.2-6 2009-05-16 Q16
Repro steps:
1. go to: http://tinyurl.com/kvclew
2. right click, save image to local directory FOO
3. open command window in directory FOO
4. execute 'mogrify -quality 80 IMG_0986.JPG'
5. open explorer window in directory FOO and set view to "thumbnails"
6. right click on IMG_0986.JPG and attempt to rotate clockwise
7. windows gives an error: "You cannot rotate this image..."
Oddly, note that if you use the windows explorer to rotate the image before using mogrify, then subsequent rotations will also work (!). That is, this sequence works fine:
1. go to: http://tinyurl.com/kvclew
2. right click, save image to local directory FOO
3. open explorer window in directory FOO and set view to "thumbnails"
4. right click on IMG_0986.JPG and to rotate clockwise (works ok)
5. open command window in directory FOO
6. execute 'mogrify -quality 80 IMG_0986.JPG'
7. in same explorer window, right click on IMG_0986.JPG and attempt to rotate clockwise. it still works!
If I can be of any help, please let me know. Thanks very much for your help with a great and tremendously useful package!