... activo SetResDebug(.t.), se genera el res.log con este contenido 487194999 FONT /*,-+0,*0/ FONT /-.,),-,/, FONT /(,./)+'0 BMP /,+'.(/.(- BMP -> ResizeImg /*)/0)).) FONT /'/..*)*(+ BMP (+,+(/*(. BRUSH /0).*(*''( BRUSH /*,-//)-/. BRUSH /.),0/((** BRUSH 1729110706 BRUSH /.),)-/)'( BMP 1577395166 ...
... Uwe :?: itio's possible change the METHOD LoadBitmap( cnName ) I thinkg insert hBmp := FW_ReadImage( nil, ::cImage )[ 1 ] instead of hBmp = ResizeImg( cnName, ::nWidth, ::nHeight ) but I not tried
Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
I hope the quality issue is now resolved. In any case, FWH libs are no more using ResizeImg or ResizeBmp for rendering resized images, except for Gray images. Whether both methods differ by a pixel or not now remains an academic issue. With your help, we now added ...
ok. From hbitmap Function GdiResizeImage( hImg , nwidth, nHeight) local hGdiBmp:= GdiPlusCreateImageFrom32hBitmap( hImg ) LOCAL gdinewhBmp := GdiPlusImageResize(hgdibmp, nWidth, nHeight ) LOCAL hImg2 := GdiPlusCreateHBitmapImage( gdinewhBmp ) GdiPlusImageDispos...
Antonio, FWH function ABPaint() just calls Windows API function AlphaBlend() It seems that AlphaBlend() can resize the image: https://msdn.microsoft.com/it-it/library/windows/desktop/dd183351(v=vs.85).aspx Can you add two parameters with nWidth and nHeight (or can send me the sou...