Whats up all! ;) I make a collision system according to the collision mask, I need to get the colors of the pixel from the JPG file and fill them into the array, respectively. Please help)



    1 answer 1

    Split the task into two convert JPEG to bmp and the second - download pixels from bmp. This is the easiest option.

    • Well, I can handle the first task, but what about the second? - RomanNVKZ
    • Depends on the class you want to use. But there is likely to be a getpixel (x, y) method - KoVadim