Search found 73 matches: sharp

Return to advanced search

Re: How to have a sharp image conversion

Mr. Silvio

Can you try this?
Code: Select all  Expand view
aBmp: = FW_ReadImage( nil, cFile )
hNew: = FW_TransformBitmap( aBmp[ 1 ], NIL, 0.30 )
FW_SaveHBitmap( hNew, "new.bmp" )
PalBmpFree( aBmp )
DeleteObject( hNew )
 
by nageswaragunupudi
Mon Mar 02, 2020 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

if it is possible I wanted to resize (because it is too big) but for now I use the version that I have as you can see on this image

Image

Now I'm correcting because I have an error on gets , the button of get is bad and I 'm searching a good solution
by Silvio.Falconi
Sun Mar 01, 2020 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

I understand.
We will do some tests and see if we can improve our functions.

You wanted to do resize also. How did you do that?
by nageswaragunupudi
Sun Mar 01, 2020 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

... use a combobox control . It use only bmp image so I must convert before png to jpg then png to bmp. If I convert png to bmp directly we have no sharp Image ( with black shadow) 2) I send now a message with Png file
by Silvio.Falconi
Sun Mar 01, 2020 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

I think you make a sample test (fwh 18.03) http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35547&start=0&hilit=FW_transformBitmap#p211638 Thanks. Now I got it. This function is in source\function\imgtxtio.prg. Looks like quality is lost while resizing. So, do you want to convert a...
by nageswaragunupudi
Sat Feb 29, 2020 3:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

Rao,
Now I tried with

local nJpgQuality := 90

FW_SaveImage( cFile, cFolderTemp+cNewName+ext,nJpgQuality )

and now run ok
Image


before png->jpg
then jpg->bmp
and the image is clear now
by Silvio.Falconi
Sat Feb 29, 2020 12:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

Not Remember
I think you make a sample test (fwh 18.03)
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35547&start=0&hilit=FW_transformBitmap#p211638

we tried also with
FW_SaveImage( "name.png", "name.bmp" )
but the quality is no good
by Silvio.Falconi
Sat Feb 29, 2020 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: How to have a sharp image conversion

Where did you get the function FW_TransformBitmap() from?
by nageswaragunupudi
Sat Feb 29, 2020 11:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

How to have a sharp image conversion

... [1] hNew: = FW_TransformBitmap (hBmp, NIL, nResize) FW_SaveImage (hNew, cFolderTemp + cNewName + ext, 40) but then using a combo I don't see the sharp image JPG https://i.postimg.cc/wx1V317B/gh.png if I turn it into a bmp format it is even worse bmp https://i.postimg.cc/NF87YHjG/d.png ...
by Silvio.Falconi
Sat Feb 29, 2020 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to have a sharp image conversion
Replies: 14
Views: 2291

Re: Convert to Pelles or keep Workshop on Win7-32 bit

... position. You could use a resource editor to make your initial layout, then fine tune it within your editor. Of course if your eyes are super sharp, you might not have the same issue. Tim
by TimStone
Mon Nov 27, 2017 7:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert to Pelles or keep Workshop on Win7-32 bit
Replies: 14
Views: 2474

Re: Saber si es AM o PM * SOLUCIONADO *

... format, 24:00 represent the end of the day so the answer is 12:00 MIDNIGHT, 00:00 is the start of the day so it should be 12:00 A.M., and 12:00 Sharp is 12:00 MIDDAY or MERIDIAM.
by hebert_j_vargas
Fri Sep 29, 2017 2:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si es AM o PM * SOLUCIONADO *
Replies: 11
Views: 2221

Re: Ads..por favor

... muito diferente 3 vezes, mais agora ja esta de forma definitiva. A muitas diferenças de tDatabase para tAds. A logica que criei foi copiado de C Sharp que disponibiliza a opção de trabalhar com as tabelas por classes e não só como objetos. cada tabela pode ser uma classe com seus methods e datas ...
by Giovany Vecchi
Fri Aug 25, 2017 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ads..por favor
Replies: 44
Views: 7319

Re: Create a Harbour language extension for Visual Studio IDE

... :?: Lets see if we are lucky enough and could get a .NET C# expert to help us :-) https://www.freelancer.com/projects/C-Sharp-Programming-NET/New-language-extension-for-Visual.html http://www.codeproject.com/Articles/33250/Writing-Your-First-Visual-Studio-Language-Service
by mbelgrano
Mon Mar 27, 2017 2:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Harbour language extension for Visual Studio IDE
Replies: 52
Views: 98640

Re: Using .NET library

Marc, A .NET DLL, and then use the DLL from the Harbour app In FiveNet makefile you can see how the DLL is created from a C sharp file: fivenet.dll : fivetech.cs   c:\Windows\Microsoft.NET\Framework\v3.5\csc /out:samples\fivenet.dll /target:library source\cs\fivetech.cs  ...
by Antonio Linares
Tue Mar 15, 2016 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using .NET library
Replies: 14
Views: 3305

Control de Volumen de Windows

... http://stackoverflow.com/questions/2534595/get-master-sound-volume-in-c-sharp http://stackoverflow.com/questions/3992798/how-to-programmatically-get-the-current-audio-level http://stackoverflow.com/questions/4235246/c-sharp-get-master-volume-level-precent ...
by cuatecatl82
Tue Mar 15, 2016 4:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control de Volumen de Windows
Replies: 6
Views: 1170
PreviousNext

Return to advanced search