java class for JPEG image manipulation