genericImageParser uses javax ImageIO, supported images depend on available plugins for ImageIO package (this is JDK installation specific). Jpeg, png and gif are availabel by default. Tif and others only on avalable plugin (in classpath).
Add supported image type dynamically on startup.
SUPPORTED_MIME_TYPES.add("image/jpg");// this is in fact a 'wrong' mime type. We leave it here because that is a common error that occurs in the internet frequently
// by default java ImageIO supports bmp, gif, jpg, jpeg, png, wbmp (tif if jai-imageio is in classpath/registered)
SUPPORTED_MIME_TYPES.add("image/jpg");// this is in fact a 'wrong' mime type. We leave it here because that is a common error that occurs in the internet frequently