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

Index was outside the bounds #15

Open
lastowl opened this issue Aug 31, 2017 · 7 comments
Open

Index was outside the bounds #15

lastowl opened this issue Aug 31, 2017 · 7 comments

Comments

@lastowl
Copy link

lastowl commented Aug 31, 2017

The attached sample image cant be decompressed, it does open in irfanview alright it happens with any image which is compressed with 33003 jp2k
file15.zip

The exact error it get is 'Index was outside the bounds of the array. at CSJ2K.j2k.image.ImgDataConverter.getData(DataBlk blk, Int32 c, Boolean intern) '

@lastowl lastowl changed the title Fails to Decode Compression type Index was outside the bounds Aug 31, 2017
@anders9ustafsson
Copy link
Contributor

Thanks for reporting, @lastowl. Which version of csj2k are you using?

@lastowl
Copy link
Author

lastowl commented Aug 31, 2017

I've tried with the latest master and with nuget v2.0.0.1

@lastowl
Copy link
Author

lastowl commented Sep 27, 2017

I also tried the the prerelease 3 on nuget same issue, if you need anymore images I can provide as manay as required

@anders9ustafsson
Copy link
Contributor

@lastowl Thanks! I have not had time to look at this issue yet, I hope to be able to next month.

@SylvainDebaudringhien
Copy link

Hi. I've checked the image, and xnView cannot decode it as well.
Just for information... Sylvain.

@boxerab
Copy link

boxerab commented Apr 7, 2018

This file is a raw code stream, by the way, not in JP2 format. Perhaps this is causing the problem.

@lastowl
Copy link
Author

lastowl commented Oct 25, 2018

Yeah the file is an exported tile from a tiff image, I’ve used the same method for a different compression on a grey scale j2k image and its alright just not this compression type.

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

4 participants