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

Sipi crashes when converting file4.jp2 file to TIFF format #144

Closed
benjamingeer opened this issue Mar 23, 2017 · 3 comments
Closed

Sipi crashes when converting file4.jp2 file to TIFF format #144

benjamingeer opened this issue Mar 23, 2017 · 3 comments
Assignees
Milestone

Comments

@benjamingeer
Copy link
Contributor

$ local/bin/sipi -f test/_test_data/images/iso-15444-4/testfiles_jp2/file4.jp2 file4.tif
libc++abi.dylib: terminating with uncaught exception of type Sipi::SipiImageError
Abort trap: 6

file4.jp2.zip

@benjamingeer
Copy link
Contributor Author

It's from the ISO JPEG 2000 conformance standard. It says:

One 8-bit component in the sRGB-grey colourspace. If a reader fails on this file, the likely cause is an error in parsing of the boxes.

@benjamingeer benjamingeer changed the title Sipi crashes when converting this JP2 file to TIFF format Sipi crashes when converting this file4.jp2 file to TIFF format Mar 24, 2017
@benjamingeer benjamingeer changed the title Sipi crashes when converting this file4.jp2 file to TIFF format Sipi crashes when converting file4.jp2 file to TIFF format Mar 24, 2017
@benjamingeer
Copy link
Contributor Author

This still reports an error:

$ build/sipi -f /Users/benjamingeer/git/Sipi/test/_test_data/images/iso-15444-4/testfiles_jp2/file4.jp2 sipi_jp2_4.tif
Kakadu-library: Error in Kakadu File Format Support:
Did not find a valid `curv' data type in the embedded ICC profile's tone reproduction curve tag.
Sipi image error at [/Users/benjamingeer/git/Sipi/src/formats/SipiIOJ2k.cpp: 885]: Problem writing a JPEG2000 image!

@lrosenth
Copy link
Collaborator

Works now!

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

No branches or pull requests

2 participants