Giter Club home page Giter Club logo

Comments (6)

syoyo avatar syoyo commented on August 12, 2024

Hello Andrew,

Oops, you are right. The output image from tinyexr looks correctly ordered, thus simply the comment is wrong.

And, PR is always welcome!

from tinyexr.

andrewfb avatar andrewfb commented on August 12, 2024

If I'm not misinterpreting it, ASCENDING_Y, which is 0, implies that the scanlines are stored top-to-bottom, correct? So I believe a line like this is reversed. As an aside, when I merged the commit that added the lineOrder parameter, all of my images flipped upside down. Am I just misreading all of this?

from tinyexr.

syoyo avatar syoyo commented on August 12, 2024

Am I just misreading all of this?

You looks correct.

extcat is a good tool to test result with OpenEXR,

https://github.com/syoyo/tinyexr/blob/51ab09c9b74a455c1fbb8d2bed80a7c9ff062c2a/test/exrcat/exrcat.cpp

And interestingly, when I run this with recent tinyexr code, the output become different(i.e. lineOrdering flipped)… although it reported identical result before. @mmp do you have any idea?

from tinyexr.

syoyo avatar syoyo commented on August 12, 2024

It looks like the inconsistency has been introduced here

8c7a865

So is it OK to invert lineOrder value, @mmp?

from tinyexr.

mmp avatar mmp commented on August 12, 2024

Oops, sorry about that. That fix looks good to me.

from tinyexr.

syoyo avatar syoyo commented on August 12, 2024

Oops, sorry about that. That fix looks good to me.

Thanks @mmp!

And now fixed the issue. lineOrder should now be correct! > @andrewfb

from tinyexr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.