Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanlines returned in reverse order #1

Closed
mmp opened this issue Nov 1, 2014 · 1 comment
Closed

scanlines returned in reverse order #1

mmp opened this issue Nov 1, 2014 · 1 comment

Comments

@mmp
Copy link
Contributor

mmp commented Nov 1, 2014

tinyexr seems to be returning scanlines in reverse order. See https://gist.github.com/mmp/ba384e1f509e2e38d5df for a test program that loads an EXR file using the OpenEXR library and then again with tinyexr (and it then prints out all of the pixel values). For any EXR file I run it on, I see for example this for the (0,0) pixel:

(0, 0): 0.019608 0.019608 0.019608 1.000000 - 0.054901 0.054901 0.054901 0.000000

and this for the first pixel of the last scanline:

(0, 63): 0.054901 0.054901 0.054901 1.000000 - 0.019608 0.019608 0.019608 0.000000
syoyo added a commit that referenced this issue Nov 1, 2014
@syoyo
Copy link
Owner

syoyo commented Nov 1, 2014

Fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants