Hi,
unfortunately calling LoadFromFileAuto does not solve my problem. If I try to open the file on my system it opens in my default picture viewer and it's displayed ok. So I think the issue is in a loading bug (that you say it's going to be fixed in the upcomming version 5.1.0 ? ).
When I load my problematic TIFF like this :
ExtractTIFFImageStream( MSAll, MSImage, i );
if ( MSImage.Size > 0 ) then
iImageCount := ROUND( MSAll.Size / MSImage.Size )
else
iImageCount := 0;
while ( i < iImageCount ) do
begin
iemview.InsertImage( i );
MSImage.Position := 0;
iemview.SetImageFromStream( i, MSImage );
Inc( i );
MSImage.Position := 0;
ExtractTIFFImageStream( MSAll, MSImage, i );
end;
It is working. BUT I don't want to go and replace my code with this workaround.