[gstreamer-bugs] [Bug 619508] [tag] Add image orientation tag

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 10 05:12:21 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=619508
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |t.i.m at zen.co.uk
     Ever Confirmed|0                           |1

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-10 12:12:19 UTC ---
Maybe:

 0 - rotate-0
 3 - rotate-180
 6 - rotate-270
 8 - rotate-90

and either:

 5 - transpose-rotate-0
 2 - transpose-rotate-90
 7 - transpose-rotate-180
 4 - transpose-rotate-270

or:

 2 - flip-rotate-0
 7 - flip-rotate-90
 4 - flip-rotate-180
 5 - flip-rotate-270

(what 'flip' means exactly would then need to be documented).

Inspired by:
http://www.impulseadventure.com/photo/exif-orientation.html
http://sylvana.net/jpegcrop/exif_orientation.html

The latter also refers to a naming scheme (for a command line tool).

I don't think we should be using an enum for this, since we'd need to register
a type for that plus get_type function for bindings etc. and that causes all
kinds of additional problems (thwarting other masterplans, possibly). I'd just
make it a string and document the possible values. Alternatively, split the tag
into two tags, one for the rotation value (double or int) and an additional one
for the transpose/flip operation.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list