Yes, its for reducing the file size of some of the images that we have. I'll try by disabling lossless.
There is another strange issue. Some of the images seems to be having format issues even though the extension is jpg when trying compress the jpegOtimizer throws an exception saying issues with file format. But when I tried renaming the images to .png the compression worked without issues. These images are end user uploaded ones and unfortunately there is no control over it. Do you have any suggestions for these like will it be possible in anyway to identify these images before being compressed.
Thanks,
Zaps
There is another strange issue. Some of the images seems to be having format issues even though the extension is jpg when trying compress the jpegOtimizer throws an exception saying issues with file format. But when I tried renaming the images to .png the compression worked without issues. These images are end user uploaded ones and unfortunately there is no control over it. Do you have any suggestions for these like will it be possible in anyway to identify these images before being compressed.
Thanks,
Zaps