[Lazarus] LCL uses fcl-image

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jan 2 12:23:10 CET 2018


On Sun, 31 Dec 2017 16:33:30 +0300
AlexeyT via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>  >simple LCL applications are so large: graphics drags in fcl-image,   
> which includes full support for JPEG,
> 
> you are right, graphics.pp--
> 
> uses
>    // RTL + FCL
>    SysUtils, Math, Types, Classes, Contnrs, Laz_AVL_Tree,
>    FPImage, FPCanvas,
>    FPWriteBMP,              // bmp support
>    FPWritePNG, PNGComn,     // png support
>    FPReadPNM, FPWritePNM,   // PNM (Portable aNyMap) support
>    FPReadJpeg, FPWriteJpeg, // jpg support
>    FPReadTiff, FPTiffCmn,   // tiff support
>    FPReadGif,
> 
> 
> good to have ifdef-s here, to disable parts of fcl-image.

I added ifdefs:
-dDisableLCLGIF
-dDisableLCLJPEG
-dDisableLCLPNM
-dDisableLCLTIFF

Mattias


More information about the Lazarus mailing list