A Java class for fast loading of JPEGs