ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 JPEG2000: ImageMagick produced files not readable
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

MMihelic

Slovenia
13 Posts

Posted - Jun 28 2013 :  00:53:54  Show Profile  Reply
Hello.

Could you, please, verify the ImageEn operation with JP2 files produced (by default) by the ImageMagick when using the ielib32.dll? It looks like they open as black images in ImageEn.

To create a test image take a GIF (with transparency) and convert it to a JP2 file:

ImageMagick-6.7.9-3-Q16\convert.exe test.gif test.jp2
-or-
ImageMagick-6.7.9-3-Q16\convert.exe test.gif -define jp2:rate=0.015625 -define jp2:prg=lrcp test.jp2

The resulting files can be opened by the Gimp, the ImageMagick and the IrfanView. However, it cannot be opened by any ImageEn based program.

If you don't see the problem then, please, verify that you are using the support DLL - IEUSEDLLJPEG2000LIB.


I have attached a test image.
--
Regards,
Matej.

http://www.imageen.com/ieforum/attach/MMihelic/20137122625_test.zip

Uwe

284 Posts

Posted - Jul 01 2013 :  09:12:19  Show Profile  Reply
FWIW: I'm not using ielib32.dll and I'm able to load the image just fine. But isn't JP2 directly supported by ImageEN anyway?

-Uwe

Go to Top of Page

w2m

USA
1990 Posts

Posted - Jul 01 2013 :  11:22:15  Show Profile  Reply
Yes. ImageEnIO supports both load and save.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

MMihelic

Slovenia
13 Posts

Posted - Jul 02 2013 :  23:09:26  Show Profile  Reply
JP2000 is supported in the ImageEn in one of the two way: through the linked in Jasper library (linked OBJ files) or through the IELIB*.DLL support DLL.

What I am stating is that the latter method (IELIB DLL) is not working correctly for all types of JP2000 files - at least in the 32bit version.

-- Regards, Matej.
Go to Top of Page

Uwe

284 Posts

Posted - Jul 03 2013 :  10:18:11  Show Profile  Reply
Matej,

can't you avoid ielib32.dll altogether? I'm still using a plain old ImageEnView in combination with imagemagick.dll and dcrawlib.dll . That way I don't have to wait for a new ielib32.dll to be released every time I run into problems. If you develop in 64bit though, then you're out of luck.

-Uwe
Go to Top of Page

MMihelic

Slovenia
13 Posts

Posted - Jul 04 2013 :  00:06:07  Show Profile  Reply
Good morning, Uwe.

Yes, we can avoid the IELIB, and this is what we did. Or, to be exact, we have disabled the use of the external JP2000 support in the IELIB and kept the rest.

However, I think that Fabricio should be aware of the problem, so he can fix it in the future.

-- Regards, Matej.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: