Here is a sample program to try:
- Code: Select all Expand view
function ImageTestNew
local oDlg, oImage
DEFINE DIALOG oDlg SIZE 1120,630 PIXEL TRUEPIXEL TITLE FWVERSION + " XImage from Web"
@ 20,20 XIMAGE oImage SOURCE "http://www.kaboutersopglabbeek.be/img/fwh.jpg" ;
SIZE -20,-20 OF oDlg
oImage:FitWidth()
oImage:lBmpTransparent := .f.
ACTIVATE DIALOG oDlg CENTERED
return nil
Result:
Using TImage class:
It can be seen that XImage display the jpg posted above with
fair fidelity. We opine that both XImage and Image controls render images faithful the original. At the same time FWH does not provide any image enhancing features like some specialized imaging software, whose only job is to render images.