Sylvain sent me some time ago a small code that loads small rectangular pieces from one image file into several texture parts (similar with loading tiles or sprites).
To my eternal shame I didn't save the code.
If anyone knows that code please post it here where will be saved forever

Thank you.