In reality, Enrico, the quality of this IMAGE.TIF looks bad, even in IRFANVIEW.exe.
En realidad, Enrico, la calidad de este IMAGE.TIF se ve mala, incluso en IRFANVIEW.exe.
gracias, tks.
Regards, saludos.
In reality, Enrico, the quality of this IMAGE.TIF looks bad, even in IRFANVIEW.exe.
nageswaragunupudi wrote:In reality, Enrico, the quality of this IMAGE.TIF looks bad, even in IRFANVIEW.exe.
The image we see on this forum is of a lesser quality than what the user actually sees on his computer.
Enrico Maria Giordano wrote:I don't understand. I see an image of good quality here, no white stains on it. I can't reproduce the problem here.
#include "fivewin.ch"
function Main()
local oDlg, oImage, cFile := "image.tif"
DEFINE DIALOG oDlg SIZE 1000,900 PIXEL TRUEPIXEL RESIZABLE
@ 20,20 XIMAGE oImage FILE FILOADIMG( cFile ) SIZE -20,-20 OF oDlg
oImage:lBmpTransparent := .f.
ACTIVATE DIALOG oDlg CENTERED
return nil
nageswaragunupudi wrote:Enrico Maria Giordano wrote:I don't understand. I see an image of good quality here, no white stains on it. I can't reproduce the problem here.
I am pleasantly surprised that you do not see any problem at you end. I am unable to explain. But I do see the difference here, even with my poor eye-sight, while testing with the TIF file he has sent me.
Please look at the result image that I shared some messages up. How do you see it?
XIMAGE( cFile ) // bad quality
XIMAGE( filoadimg( cFile ), , .f. ) // better
I don't know if it helps...
If I am correct, I took the handle of an Image object and used it as source of a xImage object and the quality in the screen are is the same.
This make me thinking that the issue can be only when showing the image on screen.
nageswaragunupudi wrote:I suggest this work-around.
aBmp[ 1 ] := GDIP_ImageFromFile( uBmp, !lGdipImage, Upper( cFileExt( uBmp ) ) == "GIF" )
=="GIF"
$ "GIF,TIFF"
aBmp[ 1 ] := GDIP_ImageFromFile( uBmp, !lGdipImage, Upper( cFileExt( uBmp ) ) $ "GIF,TIFF" )
oImage:lBmpTransparent := .f.
XIMAGE( "image.tif",, .f. )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 50 guests