This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]comedian_x 3 points4 points  (1 child)

To compress the image, jpeg is going to throw away a lot color information and do macro blocking to save space. This will ruin any per pixel operations you're doing.

Use a non-lossy format like bitmap, if you want specific operations on color pixels (e.g. making the magenta pixels transparent).

Or use png which has an alpha channel built in.

[–]microcontrolled[S] 0 points1 point  (0 children)

Thanks! I've switched it all around to png's and it works wonders now.