1

I tend to think that there is no way to modify the resolution on a JP2 header on Windows although I found that on Linux, there are such a tool and using ChatGPT, it gave me the name of jp2modify, tool that I was not able to find. So could you tell me whether this information is held in the JP2 header ? And if the answer is yes, which Windows tool could do the job ?

I have been using several tools (IrfanView, ImageMagick) on Windows (my target platform) to specify the actual resolution of a JP2 image. ImageMagick identify does not provide resolution information in verbose mode (-format provides a value of 72 ppi).

Albert Einstein
  • 7,472
  • 8
  • 36
  • 71
JP M
  • 11
  • 1

1 Answers1

-1

The resolution information of a JP2 image can be stored in the JP2 header. The header of a JP2 file contains various metadata about the image modifying this information directly within the JP2 header is not a straightforward task on Windows

Regarding Windows tools for modifying JP2 image resolution, it's worth noting that ImageMagick, which you mentioned, does support JP2 format.

If you're specifically looking for a Windows tool that can modify the resolution information in the JP2 header, I'm not aware of any dedicated software for this purpose. However, you may try using more specialized JP2 manipulation tools or libraries like Kakadu or OpenJPEG, which provide more advanced functionality for working with JP2 images.

nischal sharma
  • 479
  • 1
  • 14
  • Thank you for your help! Regarding ImageMagick, the command to modify the resolution seems to have no effect (magick convert toto.jp2 -density 1000 toto_1000.jp2). Kakadu is reported as not usable except for demo purpose and regarding OpenJPEG, I have not found a way to do it reading the interface. And using cygwin ia Linux tool doing the job s not a viable solution for my context. – JP M Jul 13 '23 at 11:56
  • 1
    To validate the resolution, I used the command: magick identify -format "%x x %y" toto_1000.jp2 – JP M Jul 13 '23 at 11:57
  • @JPM yess that's a good approach too. do upvote my answer and mark it solved if you liked the solution – nischal sharma Jul 13 '23 at 17:57
  • Unfortunately it did not fix my problem as the resolution remains at 72x72 ppi – JP M Jul 17 '23 at 19:08