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;