Skip to content
Discussion options

You must be logged in to vote

That's right. ImageSpec, and all in-memory operations in OIIO, make several simplifying assumptions, including that pixel data types are exactly 1, 2, 4, or 8 bytes per channel (and are either int, uint, or float, of those width).

Remember that the core goal of OIIO is to allow apps to read and write images in a fairly generic way without regard to the disk file formats, and without apps needing a tangle of spaghetti code to handle every possible data representation that any format might possibly support, and especially for apps to need to change every time we add support for a new file format (which may come with a unique data representation).

So we would consider something like R5G6B5 t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MarkCallow
Comment options

Answer selected by MarkCallow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants