In addition to the problem described above, I can't read the TIFF profile. Even after getting all 12 bytes I get the correct size of the profile, but the wrong pointer to the profile itself. Version 3. 17 the profile returned normally. More on this was the discussion here: https://sourceforge.net/p/freeimage/discussion/36111/thread/2510030613/ based on which I can assume that perhaps the problem is still in the wrong interpolation of the data wrapper.
I understand the pictures, you have Macintosh? The error may only appear on the PC. I more think, and if it fails, I will write ticket. Thank you!
I understand the pictures, you have Maсintosh? The error may only appear on the PC. I more think, and if it fails, I will write ticket. Thank you!
I understand the pictures, you have Makintosh? The error may only appear on the PC. More think, and if it fails, I will write ticket. Thank you!
And yet, the postal address specified in the source of the wrapper (Anatoliy Pulyaevskiy (xvel84@rambler.ru)) return an error "recipient address rejected: Blocked".
Errors in the wrapper for Delphi for the FreeImage 3.18
From TestGray16.tif also can't get a profile. Yes, I read exactly 12 bytes. When I change the DLL to version 3. 17, everything starts working. In 3. 18 The profile size is returned correct, and the pointer to its beginning - no. Declaring a function in a wrapper for Delphi: function FreeImage_GetICCProfile(dib: PFIBITMAP): PFIICCPROFILE; {$IFDEF MSWINDOWS}stdcall;{$ELSE}cdecl;{$ENDIF} external FIDLL {$IFDEF WIN32}name '_FreeImage_GetICCProfile@4'{$ENDIF} {$IFDEF MACOS}name '_FreeImage_GetICCProfile'{$ENDIF};...
I wanted to upload a sample image file with the profile, but for some reason not loaded. It is a 16-bit TIFF with grayscale.