save a Png from resource

save a Png from resource

Postby Silvio.Falconi » Tue May 07, 2019 9:56 am

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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7054
Joined: Thu Oct 18, 2012 7:17 pm

Re: save a Png from resource

Postby nageswaragunupudi » Wed May 08, 2019 1:48 am

Reading an image from resource and saving as png file.
Code: Select all  Expand view

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: save a Png from resource

Postby Silvio.Falconi » Wed May 08, 2019 7:57 am

uauuuuuu !!! thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7054
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 102 guests