JP2 (J2K) format

Moderator: jsachs

Post Reply
chrisd
Posts: 9
Joined: May 30th, 2009, 9:18 pm

JP2 (J2K) format

Post by chrisd »

Would it be possible to add JP2 format read/write to PWP?
ksinkel
Posts: 594
Joined: April 2nd, 2009, 11:58 am
Contact:

Re: JP2 (J2K) format

Post by ksinkel »

Actually, Jpeg 2000 reading is supported and has been for several years. The are no plans currently to add Jpeg 2K writing.

Kiril
Kiril Sinkel
Digital Light & Color
chrisd
Posts: 9
Joined: May 30th, 2009, 9:18 pm

Re: JP2 (J2K) format

Post by chrisd »

Hi Kiril,

I am getting 2 errors reading JP2 files in PWP: "Out of Memory" & "Unknown error reported by LeadTools"

I know the JP2 files I have are are good because I have opened them in other applications.

The source of the images is http://hirise.lpl.arizona.edu/ . The images are usually quite large, from 300Mb - 900Mb. That site is currently experiencing problems, so if you are not able to download any images to test, I can post some examples for you to download.

Chris
ksinkel
Posts: 594
Joined: April 2nd, 2009, 11:58 am
Contact:

Re: JP2 (J2K) format

Post by ksinkel »

Chris,


It sounds like the images are too large and that you are indeed running out of memory rather than having a problem with the format. Try opening a small JP2 image to test if there is any problem with the format. 300 - 900 MB is quite large, especially if those numbers refer to compressed file size. (In the latter case the images will be in the one to several gigabyte range after decompression, which is definitely larger than can be handled.)

Kiril
Kiril Sinkel
Digital Light & Color
chrisd
Posts: 9
Joined: May 30th, 2009, 9:18 pm

Re: JP2 (J2K) format

Post by chrisd »

Hi Kiril

The smallest image I have is 387Mb, uncompressed. I will try cropping and it to see if that helps.

I may be wrong, but it is my understanding that JP2 images do not have to be opened in at their full resolution due to a sampling/indexing technique built into the format. Therefore, opening images that are larger than the available RAM is feasible.

I'd appreciate any enlightenment you can offer.

Thanks,
Chris
chrisd
Posts: 9
Joined: May 30th, 2009, 9:18 pm

Re: JP2 (J2K) format

Post by chrisd »

I had a chance to try a cropped JP2 image using Irfanview. Unfortunately the non-registered version of the LuraWave JP2 plugin for Irfanview is limited to saving at 640x480. This size opens fine in PWP.

I'll look for something that will allow saving larger JP2s
Post Reply