update jpeg for large icc and simplify tiff and png icc handling