You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TIFF.read_image() only works with grey-scale images. When attempting to read a
RGB image, it only returns the R channel (in separate plane config) or the
first third of the data (in contiguous plane config).
The SamplesPerPixel field must be taken into account, and if it's more than 1,
the returned array must be a 3D array.
This is what the attached patch does. It handles both contiguous and separate
plane configs.
The patch is also available as a git commit here:
https://github.com/delmic/pylibtiff/commit/94eabe3b063d1d245d46c67adbe91604b944b
a0e
Original issue reported on code.google.com by eric.p...@gmail.com on 5 Aug 2013 at 2:17
Original issue reported on code.google.com by
eric.p...@gmail.com
on 5 Aug 2013 at 2:17Attachments:
The text was updated successfully, but these errors were encountered: