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
 How to read the Resolution box in JPEG2000
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yoshii

Japan
18 Posts

Posted - Oct 19 2026 :  02:10:48  Show Profile  Reply
Hello,

I am developing a program to extract resolution information from JPEG2000 files.
The code below fails to retrieve the resolution; it appears unable to read the value from the "Capture Resolution box (resc)." (Note that Photoshop correctly displays the resolution for these files.)

procedure TForm3.Button1Click(Sender: TObject);
var
sDocName, Xdpi,Ydpi: string;

begin
IEGlobalSettings.JPEG2000Engine := ieenDLL;
IEGlobalSettings.DefaultDpiX := 0;
IEGlobalSettings.DefaultDpiY := 0;

sDocName := 'D:\sample_400dpi.jp2';

ImageEnView1.IO.LoadFromFileJP2(sDocName);

Xdpi := IntToStr(ImageEnView1.IO.Params.DpiX);
Ydpi := IntToStr(ImageEnView1.IO.Params.DpiY);
ShowMessage(Xdpi +','+ Ydpi); // 0,0

end;

Any assistance would be greatly appreciated.

yoshii

Japan
18 Posts

Posted - Oct 19 2026 :  02:38:16  Show Profile  Reply
Hello,

I have attached a sample image; please take a look.

attach/yoshii/2026101923117_sample_400dpi.zip
980.1 KB
Go to Top of Page

yoshii

Japan
18 Posts

Posted - Oct 28 2026 :  00:59:49  Show Profile  Reply
Hello,

Have you had a chance to check the sample file?
Go to Top of Page

xequte

39595 Posts

Posted - Oct 28 2026 :  18:27:32  Show Profile  Reply
Sorry, I'm out of the office until November 2nd. I'll need to check it after that.

Also, can you confirm what version of ImageEn you are using? If it is not v15.4.0, please email me.

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

yoshii

Japan
18 Posts

Posted - Oct 29 2026 :  20:14:56  Show Profile  Reply
Hello,

I apologize for rushing you while you are busy.

The version is 15.4.0.

Thank you.
Go to Top of Page

xequte

39595 Posts

Posted - Nov 01 2026 :  18:49:48  Show Profile  Reply
Thank you for the report.

We have added support for reading DPI from the Resolution Box in the current beta.

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

yoshii

Japan
18 Posts

Posted - Nov 03 2026 :  19:16:43  Show Profile  Reply
Thank you for your prompt response.

I look forward to the release of the version that includes the new functionality.
Go to Top of Page

xequte

39595 Posts

Posted - Nov 09 2026 :  13:56:25  Show Profile  Reply
It has been released. Please email us for it.

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

yoshii

Japan
18 Posts

Posted - Nov 10 2026 :  22:02:36  Show Profile  Reply
I was able to read the resolution in version 15.5.0.
Thank you very much.
Go to Top of Page

xequte

39595 Posts

Posted - Nov 11 2026 :  21:10:18  Show Profile  Reply
Thanks for confirming

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: