I tend to use Python and the Pillow library.Ī corner is likely at (0, 0). This is usually the most basic form of loading an image, so find an image loading library for your favorite programming language that loads images in your file format, and can give width, height, and pixel colour at some (x,y) coordinate in the image. It's quite literally "search for non-background coloured blobs".Īn image is a 2D array of some width and height, and each element has a colour, usually in RGB for sprite sheets.
0 Comments
Leave a Reply. |