Page 1 of 1

save a Png from resource

Posted: Tue May 07, 2019 9:56 am
by Silvio.Falconi
I have many resource as Png on the resource rc I compile with the exe
For not have a folder of all images I wish simulate a small library where insert all these images

when the user need an image I can select it from a dialog as this :

Image


I wish save the resource selected on a folder sample " .\images\nameofpngselected.png"
because for my application the user need only 3 type of Umbrella and I can insert on library many tyoe of umbrellas

How I Can make it ?

Re: save a Png from resource

Posted: Wed May 08, 2019 1:48 am
by nageswaragunupudi
Reading an image from resource and saving as png file.

Code: Select all

FW_SaveImage( "resourcename", "filename.png" ) 
 

Re: save a Png from resource

Posted: Wed May 08, 2019 7:57 am
by Silvio.Falconi
uauuuuuu !!! thanks