Recent

Author Topic: TImage won't load standard png files  (Read 542 times)

MISV

  • Hero Member
  • *****
  • Posts: 711
TImage won't load standard png files
« on: February 03, 2020, 02:13:43 pm »
Hi,


I am on Mac / Cocoa

And whenever I use FImage.Picture.LoadFromFile a png file I get error (FImage is a TImage)

Quote
FPImageException with message wrong image format

In Lazarus if I try add png I get compile error. If I try add fpimage, fpreadpng etc. it still does not work :(

(In Delphi I add "pngimage, jpeg, gifimg" and it works...)

MISV

  • Hero Member
  • *****
  • Posts: 711
Re: TImage won't load standard png files
« Reply #1 on: February 03, 2020, 02:32:46 pm »
nevermind - seems my image download suddenly stopped working correctly

sigh

will return if there are still problems after fixing that

 

TinyPortal © 2005-2018