Hi.
If I understand the documentation of user_flip correctly, not setting it (keeping it's default value of -1) should "auto rotate" the image according to what the accelerometers of the camera have detected when the image was shot.
Are there any known issues with Sony's arw files? It does not seem to work, while xnView (which claims to use dcRaw) rotates the image...
Checked with raw from A7R-II
Checked with raw from A7R-II review: http://www.photographyblog.com/reviews/sony_a7r_ii_review/sample_images/ (raw #95)
dcraw_emu (without any parameters) rotates the image vertical and in correct angle.
Update:
LibRaw/dcraw rotate image on output, not the image[] array.
-- Alex Tutubalin @LibRaw LLC
That explains all... ;)
That explains all... ;)
I use the image[] array directly: is there a way to know, using LibRaw, if I should rotate it?
http://www.libraw.org/docs
http://www.libraw.org/docs/API-datastruct-eng.html#libraw_image_sizes_t
flip field.
Please pay attention to the documentation we supply. A lot of effort went into it, and I do not see any reason to continue selected quoting from there.
-- Alex Tutubalin @LibRaw LLC
Sorry...
Sorry...