I have a problem again with specific JPEG2000 files. I can open them in other applications, but I have problems with IIP Image Server and MooViewer. I am sorry to bother you again, but could you have a look at this file? It seems to be a problem again with binary images. However, we build our image server from the latest sources, so there should be a fix for this kind of images.
You seem to have CSS turned off.
Please don't fill out this field.
The problem is that the image header seems to say it has 3 bands, whereas in reality it is a 1 bit image which only has 1 band. How exactly did you generate this image?
The images that we create ourselves work fine, but these images we received from a partner. I asked for their settings and will post them once I receive them. In the meantime, is there a way to fix this ourselves by overwriting the metadata for example? We have not much knowledge with images in general, so any advice is very much appreciated.
The image is probably malformed. However, you say that it can be opened correctly with other software, so I've just uploaded a fix to github which allows iipsrv to work with these images also. Please try it out and tell me whether it works correctly on all your problem images.
Thank you very much!!!
It works now with these images as well.
Make sure it still works with your older 1 bit images!
Unfortunately, I have to come back as there is another issue. These images look all greyish now. I was not paying too much attention to it at first, but then I realized that the image looks a little bit odd.
Here is an example:
Is this a side effect of this wrong header?
Yes, I'll see if I can rescale further. And did you manage to get any feedback about encoding parameters?
Thank you very much!
I asked them about there settings, but haven't heard back yet. I will come back to you as soon as I know more.
Hi Ruven, we use the same parameters but we add a palette to create a BW result (the source file is b/w), whereas Markus is creating a colour image as output. So we in fact overwrite the no-palette parameter. We believe the image is a correct one - a BW image described with a palette - the 3 bands are the way any palette is represented for a JP2 image. Please check. Best, Daniel
Sign up for the SourceForge newsletter: