Enable TImage to open JPEGs, GIFs and PNGs in Delphi XE3? -
i'm looking reuse code draws images on device context in dll. uses timage works fine in original program. in dll bmps , tiffs load fine throws error loading jpgs pngs , gifs original loaded fine. i'm having troble finding in original code enable them. see in vcl.graphics looks see if clr defined tried adding conditional defines of project didn't work. can't seem find other option in project settings i'm missing enable clr.
include jpeg
, pngimage
, gifimg
uses
clause. these units enable usage of corresponding image types , register file extensions.
Comments
Post a Comment