Clipboard to jpg file

Clipboard to jpg file

Postby jose_murugosa » Mon Apr 01, 2019 12:37 pm

I'd like to save a image in clipboard to a jpg file, Could somebody help me?

Thanks in advance.

Quiero grabar una imagen en el portapapeles a un archivo jpg, alguien me podría ayudar en cuanto a como hacerlo?

Gracias desde ya.
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1173
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Re: Clipboard to jpg file

Postby ukoenig » Mon Apr 01, 2019 9:01 pm

José,

please have a look at sample < testimg.prg >

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Clipboard to jpg file

Postby nageswaragunupudi » Tue Apr 02, 2019 3:29 am

jose_murugosa wrote:I'd like to save a image in clipboard to a jpg file, Could somebody help me?

Thanks in advance.

Quiero grabar una imagen en el portapapeles a un archivo jpg, alguien me podría ayudar en cuanto a como hacerlo?

Gracias desde ya.


Code: Select all  Expand view

lSaved := FW_SaveImage( nil, cJpgFileName )
 

If the clipboard has any valid image, this function saves the image in the clipboard to the file name in the second parameter.
Regards

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

Re: Clipboard to jpg file

Postby jose_murugosa » Wed Apr 03, 2019 9:05 am

Thank you Uwe and Mr. Rao,

It worked perfect!!

This formun is excelent, people in it are.
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1173
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Re: Clipboard to jpg file

Postby nageswaragunupudi » Wed Apr 03, 2019 9:18 am

This formun is excelent


It is FWH that is excellent!!!
Regards

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

Re: Clipboard to jpg file

Postby jose_murugosa » Thu Apr 04, 2019 9:06 am

nageswaragunupudi wrote:
This formun is excelent


It is FWH that is excellent!!!



That's wright Mr. Rao!!
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1173
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay


Return to FiveWin for Harbour/xHarbour

Who is online

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