Skip to content

FCL-image, TFPCustomImageReader.InternalSize seems not implemented in the code

Summary

< TFPCustomImageReader.InternalSize seems not implemented in the code. It always reports -1, -1. The wiki describes this function: https://wiki.freepascal.org/fcl-image

But this is in the code:

class function TFPCustomImageReader.InternalSize(Str: TStream): TPoint;
begin
  Result.X:=-1;
  Result.Y:=-1;
end;  

I would bring the documentation up to date.

System Information

<>

Example Project

Relevant 3rd party information

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information