encoding problem(jpeg2000)
Moderators: XnTriq, helmut, xnview
-
- Posts: 5
- Joined: Fri Jan 10, 2014 6:42 am
encoding problem(jpeg2000)
I encoded some png images(32-bit) but most of them were not converted.
I chose JPEG-2000 format.
I still don't get what's the problem.
I uploaded a png file which I failed to convert.
Is there anyone who knows why?
I have some png files(32-bit) and they are have to be encoded (jpeg2000).
Thank you
I chose JPEG-2000 format.
I still don't get what's the problem.
I uploaded a png file which I failed to convert.
Is there anyone who knows why?
I have some png files(32-bit) and they are have to be encoded (jpeg2000).
Thank you
You do not have the required permissions to view the files attached to this post.
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
-
- Posts: 5
- Joined: Fri Jan 10, 2014 6:42 am
Re: encoding problem(jpeg2000)
Thanks, but I removed openjp2.dll from the Plugins and 'jpeg-2000 format' is also removed.
I want to convert pngs to jpeg-2000, not jpeg-2000 file format.
then what should I do?
I want to convert pngs to jpeg-2000, not jpeg-2000 file format.
then what should I do?
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: encoding problem(jpeg2000)
Did you download jp2000.zip and extract Xjp2.dll into the Plugins sub-directory of your XnView installation?Jinny wrote:Thanks, but I removed openjp2.dll from the Plugins and 'jpeg-2000 format' is also removed.
When you restart XnView you should be able to convert your PNGs to JPEG 2000 file format and code stream.Jinny wrote:I want to convert pngs to jpeg-2000, not jpeg-2000 file format.
- File » Save As... » Save as type
Tools » Batch Processing... » General » Output » Format- JP2 - JPEG-2000 JP2 File Format
- JPC - JPEG-2000 Code Stream
-
- Posts: 5
- Joined: Fri Jan 10, 2014 6:42 am
Re: encoding problem(jpeg2000)
I got it. So you mean 'jpeg 2000 file format' is the latest version of jp2 right?
Then I have to convert them all using that format, thanks.
Then I have to convert them all using that format, thanks.

-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: encoding problem(jpeg2000)
Sorry, I don't know. The file version of Xjp2.dll is 1.98.3, but I believe that refers to XnView.Jinny wrote:So you mean 'jpeg 2000 file format' is the latest version of jp2 right?
-
- XnThusiast
- Posts: 4228
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: encoding problem(jpeg2000)
Information on the OpenJPEG plug-in can be found here:
http://www.openjpeg.org/
A listing of the versions available for download is given here:
http://code.google.com/p/openjpeg/wiki/WhatsNew?tm=6
It looks as if there may have been two or three updates since the version included with XnView, with the 'More info' and 'detailed view' links referring to numerous bug fixes.
We don't know why xnview decided to change to the openjpeg plug-in rather than continue with the Xjp2 plug-in.
http://www.openjpeg.org/
A listing of the versions available for download is given here:
http://code.google.com/p/openjpeg/wiki/WhatsNew?tm=6
It looks as if there may have been two or three updates since the version included with XnView, with the 'More info' and 'detailed view' links referring to numerous bug fixes.
We don't know why xnview decided to change to the openjpeg plug-in rather than continue with the Xjp2 plug-in.
Last edited by cday on Sat Jan 18, 2014 3:41 pm, edited 1 time in total.
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: encoding problem(jpeg2000)
As mentioned in one of my previous posts, the JasPer plug-in (Xjp2.dll) enables XnView to read & write JPEG-2000 File Format (.jp2) as well as JPEG-2000 Code Stream (.jpc) files.
Wikipedia (JPEG 2000 » [url=http://en.wikipedia.org/wiki/JPEG_2000#File_format_and_code_stream]File format and code stream[/url]) wrote:Similar to JPEG-1, JPEG 2000 defines both a file format and a code stream. Whereas the latter entirely describes the image samples, the former includes additional meta-information such as the resolution of the image or the color space that has been used to encode the image. JPEG 2000 images should — if stored as files — be boxed in the JPEG 2000 file format, where they get the .jp2 extension. The part-2 extension to JPEG 2000, i.e., ISO/IEC 15444-2, also enriches this file format by including mechanisms for animation or composition of several code streams into one single image. Images in this extended file-format use the .jpx extension.
There is no standardized extension for code-stream data because code-stream data is not to be considered to be stored in files in the first place, though when done for testing purposes, the extension .jpc or .j2k appear frequently.
If you open a JPEG-2000 file saved with Xjp2.dll in XnView and go Tools » View in Hex mode, you should see a comment: “Creator: JasPer Version 1.900.1”. According to the official website, this is the latest version of the JasPer codec library.Michael Adams ([url=http://www.ece.uvic.ca/~frodo/jasper/index.html#doc]JasPer Software Reference Manual[/url] » Codecs) wrote:One of the two image formats specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1) is the so called JPEG-2000 code stream format. The JPC codec in JasPer implements this format.
The design of the JPEG-2000 codec implementation was driven by several key concerns: execution speed, memory usage, robustness, portability, modularity, maintainability, and extensibility. In some cases, however, during the design process, modularity, portability, and understandability of the code were weighed more heavily than execution speed and memory usage. Code understandability and portability were critical considerations since this software was intended to be used as a reference implementation of the JPEG-2000 Part-1 codec in the JPEG-2000 Part-5 standard.
Since the JPEG-2000 standard does not specify any means for encoding color space information in a JPEG-2000 code stream, the decoder must make certain assupmtions about the color space of an image. If accurate color representation is important, the JPEG-2000 code stream format should not be employed. The JPEG-2000 JP2 format should be used instead.
-
- Author of XnView
- Posts: 45193
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: encoding problem(jpeg2000)
Jasper is no more supported, it has a lot of security issue, and doesn't support all jpeg2k format...cday wrote:We don't know why xnview decided to change to the openjpeg plug-in rather than continue with the Xjp2 plug-in.
Pierre.
-
- Author of XnView
- Posts: 45193
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: encoding problem(jpeg2000)
Secunia: Vulnerability Reports for JasPer 1.xxnview wrote:Jasper is no more supported, it has a lot of security issue, and doesn't support all jpeg2k format...cday wrote:We don't know why xnview decided to change to the openjpeg plug-in rather than continue with the Xjp2 plug-in.

-
- XnThusiast
- Posts: 4228
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: encoding problem(jpeg2000)
The latest Openjpeg 2.0.0 plug-in (dated 1/12/2012) is attached if anyone needs it:
There doesn't seem to be a win64 version.
The pixel size limitation referred to above seems to be that the image length and width must both be at least 64px.
If it is necessary to encode smaller images the Jasper Xjp2 plug-in referred to above can used, although it has known security issues.
There doesn't seem to be a win64 version.
The pixel size limitation referred to above seems to be that the image length and width must both be at least 64px.
If it is necessary to encode smaller images the Jasper Xjp2 plug-in referred to above can used, although it has known security issues.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 165
- Joined: Sat Jan 05, 2019 1:16 pm
Re: encoding problem(jpeg2000)
Please tell me where I can recive or download lwf_jp2.dll in 64 bit version ? This me very need. However wheen I asked this in this forum , I recive answer what now use only OpenJPEG , but why? In 32 bit version work old version lwf_jp2.dll , but wheere I can download 64 bit versino ?
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: encoding problem(jpeg2000)
The LuraWave JP2 plug-n (lwf_jp2.dll) was developed by LuraTech. LuraTech was acquired by Foxit Software in October of 2015.Xn User wrote: ↑Sat Jul 23, 2022 10:08 am Please tell me where I can recive or download lwf_jp2.dll in 64 bit version ? This me very need. However wheen I asked this in this forum , I recive answer what now use only OpenJPEG , but why? In 32 bit version work old version lwf_jp2.dll , but wheere I can download 64 bit versino ?
-
- XnThusiast
- Posts: 4228
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: encoding problem(jpeg2000)
@Xn User:
In addition to XnTriq's answer above, if you must run the 32-bit plug-in on a Windows 64-bit computer, you should be able to install the XnView MP 32-bit version as well as the 64-bit version, and then use either or both as you wish...
In addition to XnTriq's answer above, if you must run the 32-bit plug-in on a Windows 64-bit computer, you should be able to install the XnView MP 32-bit version as well as the 64-bit version, and then use either or both as you wish...
