Hi,
I have a JPEG that has orientation data in it, but it's not in the EXIF data -- it's stored, AFAICT, in an XMP-tiff metadata field. When I query the file for its orientation, using "identify -format '%[EXIF:Orientation]'", it reports nothing. However, when I convert the image using "-auto ...
Search found 4 matches
- 2013-07-23T18:28:26-07:00
- Forum: Developers
- Topic: Confusion over non-Exif orientation data
- Replies: 0
- Views: 5320
- 2013-07-21T21:38:37-07:00
- Forum: Users
- Topic: Extract non-Exif orientation data from JPEG?
- Replies: 6
- Views: 11455
Re: Extract non-Exif orientation data from JPEG?
Although it it not listed as a string format at http://www.imagemagick.org/script/escape.php, this does work to get it:
convert 0000221676_0.jpg -format "%[orientation]" info:
RightTop
I will update the string format documentation tomorrow.
Thanks! That looks like exaclty what I'm after.
I ...
convert 0000221676_0.jpg -format "%[orientation]" info:
RightTop
I will update the string format documentation tomorrow.
Thanks! That looks like exaclty what I'm after.
I ...
- 2013-07-17T20:50:25-07:00
- Forum: Users
- Topic: Extract non-Exif orientation data from JPEG?
- Replies: 6
- Views: 11455
Re: Extract non-Exif orientation data from JPEG?
I'm not sure what you are asking. exiftool reports:
XMP-tiff:Orientation='Rotate 90 CW'
Yep, exiftool does report the orientation, but for the sake of consistency, I want to extract the orientation using ImageMagick tools, so that the value I'm extracting is consistent with what "convert" uses ...
XMP-tiff:Orientation='Rotate 90 CW'
Yep, exiftool does report the orientation, but for the sake of consistency, I want to extract the orientation using ImageMagick tools, so that the value I'm extracting is consistent with what "convert" uses ...
- 2013-07-17T19:07:36-07:00
- Forum: Users
- Topic: Extract non-Exif orientation data from JPEG?
- Replies: 6
- Views: 11455
Extract non-Exif orientation data from JPEG?
Hi,
I have a JPEG that has orientation data in it, but it doesn't seem to be stored in the image's Exif data. If I run the image through convert with -auto-orient, it rotates the image, and "identify -verbose" is also able to extract the orientation:
identify -verbose 0000221676_0.jpg | grep ...
I have a JPEG that has orientation data in it, but it doesn't seem to be stored in the image's Exif data. If I run the image through convert with -auto-orient, it rotates the image, and "identify -verbose" is also able to extract the orientation:
identify -verbose 0000221676_0.jpg | grep ...