... oImage:Refresh()
IF msgYesNo( " ¨ quiere grabar el codigo QR a Disco ?" )
// oGBmp:save(".\qrcode.png" ) // FORMATO INVALIDO ?
oImage:SaveImage( "qrcode.bmp", 0, nQuality )
ENDIF
oGbmp:End()
ENDIF
RETURN nil
STATIC FUNCTION GetSafeURL( cUrl )
LOCAL cAsc
LOCAL nChr
LOCAL sHex ...
Search found 28 matches: saveimage
Searched query: saveimage
- Tue Jan 07, 2025 2:15 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: CODIGO QR EN DOCUMENTO CON TPRINTER
- Replies: 10
- Views: 400
- Sat Aug 17, 2024 2:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: The picture is too big
- Replies: 5
- Views: 1533
Re: The picture is too big
However, if you make an image 9933x4961 (A1), the file is not saved
FW_SaveImage(hBmp, "myfile.png")->.F.
That is, if the picture is too big, then it does not have enough memory to save to a file. How can I get around this obstacle ?
No please.
I just checked and FWH can create PNG file with size ...
FW_SaveImage(hBmp, "myfile.png")->.F.
That is, if the picture is too big, then it does not have enough memory to save to a file. How can I get around this obstacle ?
No please.
I just checked and FWH can create PNG file with size ...
- Thu Aug 15, 2024 1:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: The picture is too big
- Replies: 5
- Views: 1533
The picture is too big
Hi,
If you make a 7016x4961 (A2) image and save it to a png file, then everything is fine.
FW_SaveImage(hBmp, "myfile.png")->.T.
However, if you make an image 9933x4961 (A1), the file is not saved
FW_SaveImage(hBmp, "myfile.png")->.F.
That is, if the picture is too big, then it does not have ...
If you make a 7016x4961 (A2) image and save it to a png file, then everything is fine.
FW_SaveImage(hBmp, "myfile.png")->.T.
However, if you make an image 9933x4961 (A1), the file is not saved
FW_SaveImage(hBmp, "myfile.png")->.F.
That is, if the picture is too big, then it does not have ...
- Thu Aug 08, 2024 11:50 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN July/Julio 2024 (FWH 24.07)
- Replies: 8
- Views: 6453
Re: New FTDN July/Julio 2024 (FWH 24.07)
... o lUseI2PDF o lUseFWPDF, el pdf se genera
utilizando Harupdf o Image2PDF o como en 1.-(c).
* Mejorado: Se han mejorado las funciones FW_SaveImage() y FW_ImageAsBlob() cuando la fuente es
un fichero EMF.
* FWMaiaDb:
Se ha actualizado la función FW_DemoDB( [nServer], [cLib ] ) --> oCn ...
utilizando Harupdf o Image2PDF o como en 1.-(c).
* Mejorado: Se han mejorado las funciones FW_SaveImage() y FW_ImageAsBlob() cuando la fuente es
un fichero EMF.
* FWMaiaDb:
Se ha actualizado la función FW_DemoDB( [nServer], [cLib ] ) --> oCn ...
- Mon Aug 05, 2024 4:14 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN July/Julio 2024 (FWH 24.07)
- Replies: 8
- Views: 6453
New FTDN July/Julio 2024 (FWH 24.07)
... lUseHaruPDF, or lUseI2PDF or
lUseFWPDF, the pdf is generated using harupdf or image2pdf
or as in 1(c) above respectively
* Improved: FW_SaveImage() and FW_ImageAsBlob() improved when
the source is emf.
* FWMaiaDb:
function FW_DemoDB( [nServer], [cLib ] ) --> oCn Updated
FWH maintains 2 ...
lUseFWPDF, the pdf is generated using harupdf or image2pdf
or as in 1(c) above respectively
* Improved: FW_SaveImage() and FW_ImageAsBlob() improved when
the source is emf.
* FWMaiaDb:
function FW_DemoDB( [nServer], [cLib ] ) --> oCn Updated
FWH maintains 2 ...
- Wed Mar 06, 2024 2:49 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: XIMAGE
- Replies: 10
- Views: 1243
Re: XIMAGE
... While releasing 2111 we forgot to remove a trace we used for debugging.
Please open \fwh\source\function\imgtxtio.prg.
In the function FW_SaveImage() you please locate this code in Line No:2304
? "here",valtype( uimage ), nwidth,nheight
Please delete this line and include the modified ...
Please open \fwh\source\function\imgtxtio.prg.
In the function FW_SaveImage() you please locate this code in Line No:2304
? "here",valtype( uimage ), nwidth,nheight
Please delete this line and include the modified ...
- Fri Feb 16, 2024 4:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
I think the problem is not saving large formats through the FW_SaveImage function.
To get a larger format, I expanded the dialog box to the desired size (oDld:Move()). Further, moving this dialog according to the specified algorithm, I received the device context of the screen. It used to work, now ...
To get a larger format, I expanded the dialog box to the desired size (oDld:Move()). Further, moving this dialog according to the specified algorithm, I received the device context of the screen. It used to work, now ...
- Fri Feb 16, 2024 3:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
... SaveAs png files
aSave := Array( nParts )
for n := 1 to nParts
aSave[ n ] := BeforAtNum( ".", cSource ) + cValToStr( n ) + ".png"
FW_SaveImage( aBmp[ n ], aSave[ n ] )
DeleteObject( aBmp[ n ] )
next
// View all the saved parts
xbrowser aSave SETUP ( ;
oBrw:aCols[ 1 ]:cDataType ...
aSave := Array( nParts )
for n := 1 to nParts
aSave[ n ] := BeforAtNum( ".", cSource ) + cValToStr( n ) + ".png"
FW_SaveImage( aBmp[ n ], aSave[ n ] )
DeleteObject( aBmp[ n ] )
next
// View all the saved parts
xbrowser aSave SETUP ( ;
oBrw:aCols[ 1 ]:cDataType ...
- Fri Feb 16, 2024 9:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
I wanted to divide the hBmp into 3 parts - 33%, 33% and 34%
How can I do this using the FW_Transform Bitmap function ?
How can I do this using the FW_Transform Bitmap function ?
- Thu Feb 15, 2024 3:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
Thank you, Rao, very interesting functions - FW_StitchImages and FW_TransformBitmap. I'll try with them
- Thu Feb 15, 2024 3:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
Yes, your example works well. But files in A1 and A0 format do not want to be saved from my program.
How can I help you?
Can you send me a test program of yours to my personal email?
nageswaragunupudi [at] gmail [dot] com
I am trying to make an option with the creation of several bitmap files ...
- Thu Feb 15, 2024 11:39 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
Yes, your example works well. But files in A1 and A0 format do not want to be saved from my program
I am trying to make an option with the creation of several bitmap files and their subsequent gluing.
Is it possible to split hBmp into several parts and save them as separate files ?
I am trying to make an option with the creation of several bitmap files and their subsequent gluing.
Is it possible to split hBmp into several parts and save them as separate files ?
- Thu Feb 15, 2024 12:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
Did you try my sample program?
- Tue Feb 13, 2024 2:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
Re: FW_SaveImage
... FW_DrawImage( hDC, "..\bitmaps\olga1.jpg", { 3200, 1024*4, 3200+450*7, 1024*4 + 352*7, 1 } )
PalBmpFree( aBmp )
return nil
> )
? hbmp
FW_SaveImage( hBmp, "large.png" )
DeleteObject( hBmp )
? "saved"
XImage( "large.png" )
return nil
I am able to see the image well.
If you want I can ...
PalBmpFree( aBmp )
return nil
> )
? hbmp
FW_SaveImage( hBmp, "large.png" )
DeleteObject( hBmp )
? "saved"
XImage( "large.png" )
return nil
I am able to see the image well.
If you want I can ...
- Tue Feb 13, 2024 1:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FW_SaveImage
- Replies: 8
- Views: 1106
FW_SaveImage
Hi,
I create an image in A2 format.
hBmp :=FW_MakeYour Bitmap(7016, 4961, {|hDc|FW_DrawImage(),..})
Then I save it to file FW_SaveImage(bmp, "myfile") Everything is fine.
I create an image in A1 format.
hBmp:=FW_MakeYour Bitmap(9933, 7016, {|hDc|FW_DrawImage(),..}) When saving it to a file, the ...
I create an image in A2 format.
hBmp :=FW_MakeYour Bitmap(7016, 4961, {|hDc|FW_DrawImage(),..})
Then I save it to file FW_SaveImage(bmp, "myfile") Everything is fine.
I create an image in A1 format.
hBmp:=FW_MakeYour Bitmap(9933, 7016, {|hDc|FW_DrawImage(),..}) When saving it to a file, the ...