FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Clipboard to jpg file
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Clipboard to jpg file
Posted: 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, el teclado y la IA!!"
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Clipboard to jpg file
Posted: Mon Apr 01, 2019 09:01 PM
José,

please have a look at sample < testimg.prg >

regards
Uwe :-)
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.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Clipboard to jpg file
Posted: Tue Apr 02, 2019 03: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 (fw): Select all Collapse
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
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: Clipboard to jpg file
Posted: Wed Apr 03, 2019 09: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, el teclado y la IA!!"
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Clipboard to jpg file
Posted: Wed Apr 03, 2019 09:18 AM
This formun is excelent


It is FWH that is excellent!!!
Regards



G. N. Rao.

Hyderabad, India
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: Clipboard to jpg file
Posted: Thu Apr 04, 2019 09: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, el teclado y la IA!!"

Continue the discussion