GNOME Bugzilla – Bug 626570
[tag] Add resolution tags
Last modified: 2010-09-07 13:33:31 UTC
Proposing to add 2 new tags: GST_TAG_HORIZONTAL/VERTICAL_RESOLUTION for representing the image/videos resolution. It would be a double in ppi (pixels per inch). Opening a bug in case someone has an objection for the name/unit/format, and this is new API, so I should get other people approval before pushing it.
Created attachment 167546 [details] [review] tag: Adds image resolution tags Adds GST_TAG_HORIZONTAL_RESOLUTION and GST_TAG_VERTICAL_RESOLUTION tags for representing image/video resolutions in ppi API: GST_TAG_HORIZONTAL_RESOLUTION API: GST_TAG_VERTICAL_RESOLUTION Fixes #626570
Created attachment 167549 [details] [review] tag: Adds image resolution tags Updated after feedback on IRC that resolution might mean dimensions as well. So renamed it to: * GST_TAG_IMAGE_HORIZONTAL_PPI * GST_TAG_IMAGE_VERTICAL_PPI
This could also be mapped in RIFF/INFO for AVI http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/RIFF.html 'IDPI' DotsPerInch How likely it is that there is a different PPI in one direction? Scanners and cameras usualy have square pixels, right?
(In reply to comment #3) > This could also be mapped in RIFF/INFO for AVI > > http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/RIFF.html > 'IDPI' DotsPerInch > > How likely it is that there is a different PPI in one direction? Scanners and > cameras usualy have square pixels, right? Yes, not sure how to relate this with PAR in a nice way. And for the naming, DPI seems to be the most common usage, but PPI is the 'correct' term when talking about pixels. But DPI is good enough to me.
Pushed the tags to -base. commit d54ba9394520baa00655503b04d015a0cbb89515 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Tue Sep 7 08:46:15 2010 -0300 tag: exif: Adds mappings for new image ppi tags Adds mappings for GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI into our exif lib Tests included. Fixes #626570 commit 7d4bdbf5cef6e1b941a9f600aeea5dd472db76a6 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Tue Sep 7 08:22:27 2010 -0300 tags: Add GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI tags Adds new tags for representing the intended PPI of images/videos API: GST_TAG_IMAGE_HORIZONTAL_PPI API: GST_TAG_IMAGE_VERTICAL_PPI Fixed #626570