[Lazarus] Strange issue with TImage and lazarus 2.2.2

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 24 11:30:03 CEST 2022


On Fri, 24 Jun 2022 11:09:17 +0200
Werner Pamler via lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...] It is
> my impression there is no way to register a new format in any way
> without modifying the sources of TPicture.

TPicture:
    class function SupportsClipboardFormat(FormatID: TClipboardFormat): Boolean;
    class procedure RegisterFileFormat(const AnExtension, ADescription: string;
      AGraphicClass: TGraphicClass);
    class procedure RegisterClipboardFormat(FormatID: TClipboardFormat;
      AGraphicClass: TGraphicClass);
    class procedure UnregisterGraphicClass(AClass: TGraphicClass);
    class function FindGraphicClassWithFileExt(const Ext: string;
      ExceptionOnNotFound: boolean = true): TGraphicClass;

Mattias


More information about the lazarus mailing list