Slicing an image into even squares ?
Posted on 2003-03-10
Is there a way to have an image devided into a grid (like 4X4) at runtime ?
I want to load an image from loadfile (the user finds the image). Then the program needs to resize that image to be for eg: 300 x 300 pixels. That image then needs to be cut up into a grid shape with 4 columns and 4 rows.
Each piece needs to have it's own identity so I can write code to work with them. Hmmm and I barking up the wrong tree here ? Is this possible ?