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;