Przeglądaj źródła

Register FCL image readers for TLazIntfImage

Bernardo Magri 4 miesięcy temu
rodzic
commit
baabf49908
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 1
      src/book.pas
  2. 1 1
      src/unitCoverWorker.pas

+ 2 - 1
src/book.pas

@@ -6,7 +6,8 @@ interface
 
 uses
   Classes, SysUtils, Graphics, ExtCtrls, Controls, LCLIntf, LResources, Process,
-  Math, IntfGraphics, FPImage, GraphType, LazCanvas, FileUtil, LazJPG;
+  Math, IntfGraphics, FPImage, FPReadPNG, FPReadJPEG, GraphType, LazCanvas,
+  FileUtil, LazJPG;
 
 
 type

+ 1 - 1
src/unitCoverWorker.pas

@@ -6,7 +6,7 @@ interface
 
 uses
   Classes, SysUtils, Process, LCLIntf, Graphics, Math, LazJpeg,
-  IntfGraphics, FPImage, GraphType, LazCanvas,
+  IntfGraphics, FPImage, FPReadPNG, FPReadJPEG, GraphType, LazCanvas,
   Book, BookCollection, FileUtil;
 
 { Call this once after loading your data: it scans the list and enqueues