background
I have been working on an ImageIO plugin for reading JPEG for some time. If I want to present, according to the EXIF / TIFF orientation tag, if one is present, automatic rotation of a particular image.
I'm not saying how to implement rotation, but my issue is with the ImageReader API, for many users, just calling Should I highlight a way to read the file in the file, as I am using I am working on metadata support (as ... Or alternatively, should I give it now, and the client should have the EXIF Skip to read metadata Should the rotation be applied if necessary? Input and suggestions implementers as well as ImageIO users are welcome! -) Due to rotating image image if you read tiles Reasons to Rotate I think ImageIO should rotate the image and Exif update can work with ImageIO without worrying about the developer image file format like this. And the behavior of the new JPEG reader is compatible with the old. Additional attributes I think we should leave the previous (Exif beeing standard) and to be part of JPEG to consider the orientation in Exif, but I think we can get pixels in memory or screen All other Exif information should still be ignored; -) imageIO.read (myJPEG) , And they think that the image is happy to be rotated for orientation. However, if you look at it, there are several ways to get information and information about the metadata, and there are several ways to read the pixel data.
Question (s)
ImageReadParam (I I can do it in another way, but this will not be allowed to take advantage of the general case mentioned above.
IIOMetadata ), should the orientation tag written in the metadata file, or the rotated image? This is where I think things get broken ... The real issue here is, what happens when someone reads the image and metadata, then manages to break some of the image and stores it again with metadata (The author should make a strange rotation, or discard the 'magical' orientation tag and update w / h?
No comments:
Post a Comment