TImage.LoadFromFile
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
First I DO know that TImage is Lazarus component but it's a FPC bug and I have no other way of reproducing it ATM so here goes.
Put a TImage on the Form and use Image1.Picture.LoadFromFile('plechovica.png'); on a buttonpress or anything during runtime(design time loading seems to work).
You'll get a EDecompressionError and Z_DATA_IMAGE error.
Same lazarus with 1.9.6 works.
Additional information:
Reporter: Ales Katona (Almindor)
EMail: ales at chello dot sk
Mantis conversion info:
- Mantis ID: 5502
- OS: All
- Version: 1.9.7
- Fixed in version: 2.0.4