Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3804

Is RGBSurface broken on macOS for Picture with Alpha channel?

$
0
0

If I loop through Picture’s RGB surface to copy it (note I do it to test I don’t need to copy it I am tight encoding it in the end but since that was failing then I loop through it and copy pixel by pixel with RGB surface.

So like this (where s2 and s are the RGB surface of the picture, both pictures were made with

new Picture(48,48)

Then it loops on their RGB surface where this is done in the loop:

s2.Pixel(x,y) = s.Pixel(x,y)

image

The result is just utter nonsense

9 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3804

Trending Articles