Re: Sample image t14.exr has wrong display window?
Gonzalo Garramuno <[email protected]>
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <[email protected]> |
On 27/06/14 16:14, Brendan Bolles wrote: > The dataWindow and displayWindow coordinates are inclusive, so to get the width/height you need to add a +1 to your measurements. Thanks for the explanation. I traced the problem to a confusion in my class constructor using the width and height instead of the max values. > In every t01.exr I've ever seen, the displayWindow matches that dataWindow. I just checked the one on the GitHub repository to verify. > I found this to be an "optimization" on my part of not setting the display window when it matched the data window. Sorry for all the trouble I made you go through.