Search found 107 matches: saveimage

Return to advanced search

Re: XIMAGE

We regret the inconvenience. 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 th...
by nageswaragunupudi
Wed Mar 06, 2024 2:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XIMAGE
Replies: 10
Views: 394

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 ...
by Natter
Fri Feb 16, 2024 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_SaveImage

Try this sample which splits and again glues together #include "fivewin.ch"function Main()   local cSource  := "\fwh\bitmaps\sea.bmp"   local aSave   local hSource, aBmp   local nWidth, nHeight, h, n, c, nTop, nBot   local nParts   := 3   hSource  := FW_ReadImage( nil...
by nageswaragunupudi
Fri Feb 16, 2024 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

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 ?
by Natter
Fri Feb 16, 2024 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_SaveImage

Thank you, Rao, very interesting functions - FW_StitchImages and FW_TransformBitmap. I'll try with them
by Natter
Thu Feb 15, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

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 and t...
by nageswaragunupudi
Thu Feb 15, 2024 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_SaveImage

Yes, your example works well. But files in A1 and A0 format do not want to be saved from my program :cry:

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 ?
by Natter
Thu Feb 15, 2024 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_SaveImage

Did you try my sample program?
by nageswaragunupudi
Thu Feb 15, 2024 12:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_SaveImage

When saving it to a file, the program terminates without an error. I understand that there is not enough memory. Possible. But I tried with the same size it is working for me quite well. This is my sample program function LargeBmp()   local hBmp   ? "start"&nbs...
by nageswaragunupudi
Tue Feb 13, 2024 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

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|F...
by Natter
Tue Feb 13, 2024 1:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]

Yes, sorry.
This does not work in FWH1912.
You need to use later version.
This works in the current version.
by nageswaragunupudi
Mon Sep 11, 2023 4:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]
Replies: 10
Views: 1113

Re: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]

I got this error Application Internal Error - C:\test\TPlusSST\bin\inv.exeTerminated at: 2023-09-11 12:27:48Unrecoverable error 9001: Error recovery failureCalled from FW_MAKEYOURBITMAP(2098) in .\source\function\IMGTXTIO.PRGCalled from FW_BARCODEBMP(2071) in .\source\function\IMGTXT...
by hua
Mon Sep 11, 2023 4:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]
Replies: 10
Views: 1113

Re: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]

Please try
Code: Select all  Expand view
hBmp := FW_BarCodeBmp( cText, "QRCODE", nWidth, nHeight, nil, CLR_WHITE )

and let us know if this is working well for all purposes.
by nageswaragunupudi
Mon Sep 11, 2023 3:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]
Replies: 10
Views: 1113

Re: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]

Just out of curiosity, could the qrcode be generated with white background instead of being transparent?
by hua
Mon Sep 11, 2023 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_BarCodeBmp() / FW_SaveImage() help please [Solved]
Replies: 10
Views: 1113
Next

Return to advanced search