[fpc-devel] Is this a bug? TFPImageCanvas.StretchDraw

Martin fpc at mfriebe.de
Wed Jul 11 13:33:40 CEST 2018


Btw, a 2nd issue.

If you put the dark read pixels on the right most edge of the image 
(reduce width to 22), then it is missing in the stretched image.


>   ScFI := TFPCompactImgRGBA8Bit.Create(22, 30);
>
...
> ScFI.Colors[20,i] := c;
>     //c.blue := 10;
>     c.Red := $7F7F;
>     ScFI.Colors[21,i] := c;
>   end;




More information about the fpc-devel mailing list