How to load an arbitrary image from a BLOB stream into a TImage?

前端 未结 4 1367
攒了一身酷
攒了一身酷 2020-12-28 22:46

If I understand it correctly, TImage.LoadFromFile determines the type of picture from the file extension.

Is there any way to detect the image type auto

4条回答
  •  长情又很酷
    2020-12-28 23:10

    starting from here you can easily do it: http://delphihaven.wordpress.com/2011/01/22/tip-detecting-graphic-formats/

提交回复
热议问题