save a Png from resource

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

save a Png from resource

Post 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 ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: save a Png from resource

Post by nageswaragunupudi »

Reading an image from resource and saving as png file.

Code: Select all

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

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: save a Png from resource

Post by Silvio.Falconi »

uauuuuuu !!! thanks
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply