On Monday 30 October 2017 07:27:52 code dz wrote:
> yes that works . . but the samll images can not be interpolated .
The code is in lib/common/graphics/msegdi32gdi.pas:
"
procedure setintpolmode(const ahandle: hdc);
var
pt1: tpoint;
begin
with drawinfo.copyarea do begin
if (al_intpol in alignment) and not iswin95 then begin
getbrushorgex(ahandle,pt1);
setstretchbltmode(ahandle,halftone);
setbrushorgex(ahandle,pt1.x,pt1.y,nil);
end
else begin
if al_or in alignment then begin
setstretchbltmode(ahandle,blackonwhite);
end
else begin
if al_and in alignment then begin
setstretchbltmode(ahandle,whiteonblack);
end
else begin
setstretchbltmode(ahandle,coloroncolor);
end;
end;
end;
end;
end;
"
Maybe ask Microsoft or use GraphicMagics?
Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk