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
 Using JPEG2000 lossless option to save images
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yeohray2

Malaysia
100 Posts

Posted - Nov 03 2022 :  04:44:00  Show Profile  Reply
Hi, just wanted to ask if it's expected that when saving an image using the JPEG2000 lossless option, some values differ from the original image. Not a whole lot, but there are some differences.

However, this only happens in 32-bit applications using the Delphi code. Using ielib32.dll or ielib64.dll, there are no differences.

Thanks in advance.

Ray

xequte

38222 Posts

Posted - Nov 03 2022 :  22:52:23  Show Profile  Reply
Hi Ray

Are you referring to changes to the meta-data?

If so, then that is expected.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yeohray2

Malaysia
100 Posts

Posted - Nov 08 2022 :  03:29:57  Show Profile  Reply
It's the image itself. I'm attaching a sample project with the image I'm using. If I run the test (32-bit build) with ielib32.dll, I have 0 differences between the original DICOM image and the saved DICOM image. If I remove ielib32.dll, I have 30k+ differences.

Thanks in advance.

Ray

attach/yeohray2/202211832935_test.zip
1206.18 KB
Go to Top of Page

xequte

38222 Posts

Posted - Nov 10 2022 :  14:51:22  Show Profile  Reply
Thanks, we will investigate. However you should use ielib if you need JPEG2000 support. It is a much improved implementation.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yeohray2

Malaysia
100 Posts

Posted - Nov 10 2022 :  18:17:29  Show Profile  Reply
Noted, will do. Thanks.

Ray
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: