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;
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel