Sprit class added. Read the sprit to get a subimage