Extract sprites from a larger png file such as the one we can find at http://gaurav.munjal.us/Universal-LPC-Spritesheet-Character-Generator/. The picture below is showing one of the sprite collection.
PNGReadWriter
.binaryReadStreamDo:
.asFileReference
or FileSystem workingDirectory
if the file is located close to the pharo.image file to get to a file./
to specify a file name in the path. width
and height
.form copy: aRectangle
.