use jpeg, tiff and webp as a module