Giter Club home page Giter Club logo

Comments (15)

lgritz avatar lgritz commented on August 16, 2024

Well that's strange, the hash should not differ if the pixels don't differ, regardless of platform.

from oiio.

lgritz avatar lgritz commented on August 16, 2024

Robert, would you mind sending me the testsuite output for you on Ubuntu? Maybe I can figure out why it's different for me on OSX.

from oiio.

robert-matusewicz avatar robert-matusewicz commented on August 16, 2024

Ok, I will upload images ASAP. For me, it looks like I forgot to do some endianess swapping when saving >8 bit images and this is why hashes differ on different platforms.

from oiio.

lgritz avatar lgritz commented on August 16, 2024

Hmmm... we support 3 or 4 OS's, but they're all on Intel little-endian chips these days. There may well be an endian bug, but I don't see why that would make different hashes on Ubuntu vs OSX.

from oiio.

robert-matusewicz avatar robert-matusewicz commented on August 16, 2024

Hi, here are those images (I didn't look at the problem):
http://dl.dropbox.com/u/1010083/OIIO/p0_04.j2k
http://dl.dropbox.com/u/1010083/OIIO/p0_05.j2k
http://dl.dropbox.com/u/1010083/OIIO/p0_06.j2k

from oiio.

robert-matusewicz avatar robert-matusewicz commented on August 16, 2024

I tried to track the problem, but couldn't figure out where it is. Larry, maybe You could also send me failing images (p0_04, p0_05, p0_06)?

from oiio.

2bits avatar 2bits commented on August 16, 2024

I just build RB-1.0 on OSX Lion and it passes the OpenJpeg tests.

I used this version of OpenJpeg: 1.5.0
and I used this archive of the J2K test images.

      Start 21: jpeg2000
21/31 Test #21: jpeg2000 .........................   Passed    5.62 sec

from oiio.

lgritz avatar lgritz commented on August 16, 2024

Can we close this issue, then?

from oiio.

robert-matusewicz avatar robert-matusewicz commented on August 16, 2024

It still fails on my Ubuntu machine - I could try to track the problem but it would be much easier if someone sent me p0_04, p0_05 and p0_06 after conversion on passing testsuite.

from oiio.

2bits avatar 2bits commented on August 16, 2024

Ok here you go. These were converted in the testsuite on my system where they passed make test.

https://github.com/2bits/j2kimg

from oiio.

2bits avatar 2bits commented on August 16, 2024

@matekm try those...

from oiio.

2bits avatar 2bits commented on August 16, 2024

This still works for me testing against master, RB-1.0, and 1.0.2. Why no response from @matekm?

from oiio.

lgritz avatar lgritz commented on August 16, 2024

Robert, have you had any chance to check this out?

I'm not sure I'm following this conversation. Is j2k broken, or not?

from oiio.

2bits avatar 2bits commented on August 16, 2024

ping @matekm

from oiio.

robert-matusewicz avatar robert-matusewicz commented on August 16, 2024

oh, forgot about this. AFAIR last time I tested this, it worked. Currently, I stopped using windows. So, I closing this.

from oiio.

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.