Hello All,
Any idea to loadpicture .png files?
common loadpicture("mypic.png") gives me "Invalid Picture"
please help
thanks
Winan
Printable View
Hello All,
Any idea to loadpicture .png files?
common loadpicture("mypic.png") gives me "Invalid Picture"
please help
thanks
Winan
Would this help?
http://www.vbforums.com/showthread.php?t=555084
And a more complete package that supports TIFFs too can be found in my GDI+ classes. See the link in my signature below.
For XP you can get Windows® Image Acquisition Automation Library v2.0 Tool: Image acquisition and manipulation component for VB and scripting. It's included in Vista and Win7.
Code:With New WIA.ImageFile
.LoadFile "Misc1.png"
Set Image1.Picture = .FileData.Picture
End With