Re: [fpc-pascal] Usage of TFPCustomImage

2017-06-13 Thread Juha Manninen
On Tue, Jun 13, 2017 at 5:20 PM, Michael Van Canneyt wrote: > However, this method of loading an image depends on the order of the uses > statements: each registered reader is asked in turn whether it recognizes > the stream. The unit IntfGraphics in LCL does not have

Re: [fpc-pascal] Usage of TFPCustomImage

2017-06-13 Thread Michael Van Canneyt
On Tue, 13 Jun 2017, Juha Manninen wrote: The class TFPCustomImage and its usage has apparently changed in FPC 3.0.2 (and trunk) compared to FPC 3.0. This issue: https://bugs.freepascal.org/view.php?id=32005 is marked for TLazIntfImage (in LCL) but actually the problematic procedure

[fpc-pascal] Usage of TFPCustomImage

2017-06-13 Thread Juha Manninen
The class TFPCustomImage and its usage has apparently changed in FPC 3.0.2 (and trunk) compared to FPC 3.0. This issue: https://bugs.freepascal.org/view.php?id=32005 is marked for TLazIntfImage (in LCL) but actually the problematic procedure LoadFromStream is in TFPCustomImage. Please read my