Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-12

LCL uses fcl-image

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT
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.

Regards, Alexey

Reply by email

Mattias Gaertner
to AlexeyT
Show quoted text 18 lines
>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

Reply by email