Page 1 of 1

Issue Loading Color Image over 300 DPI

Posted: Wed Feb 19, 2025 12:13 am
by jeffp
Hey guys, I haven't posted for a while which means awesome product!

A few of our users have reported this issue. This happens in our scanning flow where we grab the tif file produced by the scanner and then load it in your IIXC_Image object (See code below).

If the scanner is set to produce a color image (24b bit) with a DPI of 300 or higher, then when loading into your IIXC_Image object it produces a line across the page about 3/4 the way down the page.

My attached Files.zip contains two files. First, the "Input.tif", is the file produced by the scanner and you'll see it looks good. Second, the "Output.tif", is the file I get once I load it into your object using the code below and then saving it out to file. We use Delphi.

I never noticed this before.

Code: Select all

function TMyIMG.LoadFromFile(AFileName: String): Boolean;
begin
  Result := False;
  FInitPageCount := 0;
  if IsImgFile(AFileName) then
  begin
    FFileName := AFileName;

    if FileExists(AFileName) then
    begin
      try
        INST_IXC.CreateEmptyImage(FDoc);
        Result := (FDoc.Load(PChar(AFileName), ImageLoad_Deferred) = S_OK);  //ImageLoad_Deferred: loads file info but delays decoding
      except
        WriteToLog('failed to open - error');
      end;

      if Result then
      begin
        FInitPageCount := GetPageCount;
        Result := (FInitPageCount > 0);
      end;
    end;
  end else
  begin
    WriteToLog('failed to open - bad file type');
  end;
end;
Files.zip
Files.zip

Re: Issue Loading Color Image over 300 DPI

Posted: Wed Feb 19, 2025 7:44 pm
by jeffp
As a follow up, if you open the "Input.tif" file I uploaded in that zip file using your end user PDF XChange Editor, it will show the line towards the bottom as well. So that's another place you can see what's happening.

Re: Issue Loading Color Image over 300 DPI

Posted: Thu Feb 20, 2025 11:31 am
by Stefan - PDF-XChange
Hello jeffp,

Thanks for the follow up! I've reproduced the same with the end user Editor - so asked our devs to investigate this further!

Kind regards,
Stefan

Re: Issue Loading Color Image over 300 DPI

Posted: Mon Feb 24, 2025 10:13 am
by Stefan - PDF-XChange
Hello Jeff,

Our devs just confirmed that this has been fixed and the fix will be included in V10.6.0 of our products. I do not yet have a planned release date for that version though, so it could be some time!

Kind regards,
Stefan

Re: Issue Loading Color Image over 300 DPI

Posted: Mon Feb 24, 2025 3:45 pm
by jeffp
Sounds good. Thanks for the update.

Issue Loading Color Image over 300 DPI

Posted: Mon Feb 24, 2025 3:58 pm
by Stefan - PDF-XChange
:)

Re: Issue Loading Color Image over 300 DPI

Posted: Wed Mar 19, 2025 7:17 pm
by jeffp
Any ETA on 10.6 yet?

Re: Issue Loading Color Image over 300 DPI

Posted: Wed Mar 19, 2025 9:50 pm
by Daniel - PDF-XChange
Hello, jeffp

We only have a rough estimate at this time, but we are currently aiming for somewhere in April, assuming that testing goes according to plan.

Kind regards,

Re: Issue Loading Color Image over 300 DPI

Posted: Wed Apr 23, 2025 1:57 pm
by jeffp
Any new word on 10.6 release date?

Re: Issue Loading Color Image over 300 DPI

Posted: Wed Apr 23, 2025 3:28 pm
by Daniel - PDF-XChange
Hello, jeffp

Yes, the target is the end of the month here, so hopefully in the next week. Depending on our internal testing, that may be pushed back by another week or so, but I don't imagine we are more than 2 weeks away at this point, barring any complications.

Kind regards,