Skip to content

Colours not blitting correctly #3

@AngusAU293

Description

@AngusAU293

Hi there,

I was working on some image compression methods (mainly for PixelBox) and noticed that sometimes the wrong colours were rendering. At first I though it was a problem with my methods, so I tried lots of different methods that all seemed like they would work, until I tried to manually place the values onto the PixelBox canvas.

This is the issue:

box.canvas[5][6] = colors.lightBlue
box.canvas[6][7] = colors.blue
box.canvas[7][8] = colors.lightBlue
box.canvas[8][8] = colors.green

Turns out to be this:

Image

And in case you didn't already see it, the bottom-most pixel should be green instead of lightBlue.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions