Re: [Oiio-dev] passing UNKNOWN to write_scanlines removed in python?

2019-11-29 Thread Andrew Gartner
No worries on the reply time, I think this might work and I'll give it a shot when I get back to the office after the holiday. You're correct I only need to preserve what I read and the bit pattern doesn't really matter, so if I can just leverage setting the channelformats on the spec I should be

Re: [Oiio-dev] Normalize values

2019-11-29 Thread Kevin Wheatley
to further what Larry is saying, you might want to check out using numeric limits to initialise min and max based on your source data type, (or at least for float as that is the type of your min and max variables) see https://en.cppreference.com/w/cpp/types/numeric_limits/lowest So you should