add note on tiff autorot
This commit is contained in:
parent
38819a9050
commit
2b9471b19d
31
TODO
31
TODO
@ -1,3 +1,34 @@
|
||||
- support orientation tag in tiff images
|
||||
|
||||
see
|
||||
|
||||
http://www.awaresystems.be/imaging/tiff/tifftags/orientation.html
|
||||
|
||||
seems to be the same values used for exif
|
||||
|
||||
jpg uses "exif-ifd0-Orientation", see conversion/autorot.c
|
||||
|
||||
instead, standardize on "orientation" and give it an int value
|
||||
|
||||
jpg load and save need to use this in preference to the exif value
|
||||
|
||||
tiff load and save need to set and recover this value
|
||||
|
||||
tiff load needs an autorot flag
|
||||
|
||||
don't touch parse_header()
|
||||
|
||||
on header-only read, just swap width/height and delete the tag
|
||||
|
||||
on full image read, use read_jpeg_rotate(), broken out into a separate
|
||||
func
|
||||
|
||||
see https://github.com/jcupitt/libvips/issues/243
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- why can't we do
|
||||
|
||||
im = Vips.Image.new_from_file(sys.argv[1], access = "sequential")
|
||||
|
Loading…
Reference in New Issue
Block a user