Slicing an Image
Posted: Wed Mar 03, 2010 1:02 am
I want to "slice" an image, e.g. a Font Image with fixed size and ordered characters. For example:
A B C D E F G H I J K L ... etc. Each Letter 32x32 pixels
Coordinates
A = 0,0,31,31
B = 32,0,63,31
.. Etc.
How do I do that with PureBasic?
I don't care too much about the image format. Anything for PNG, JPG, BMP or even RAW binary data would work for me. But I need to be able to use the slice for displaying in my PB app.
Thanks.
A B C D E F G H I J K L ... etc. Each Letter 32x32 pixels
Coordinates
A = 0,0,31,31
B = 32,0,63,31
.. Etc.
How do I do that with PureBasic?
I don't care too much about the image format. Anything for PNG, JPG, BMP or even RAW binary data would work for me. But I need to be able to use the slice for displaying in my PB app.
Thanks.