webp still is not supported by browsers used by a lot of users.
As for scraping images from vendors, I see several issues:
- Permission. Copyright. Have they given you permission to do this? If so, that same conversation of asking for permission could be had with their marketing department who actually has the originals of those images, and could simply supply them to you in high quality.
Scraping issue solved.
And, if your counter-argument to this is that "I've tried that years ago", then maybe it's time to re-visit the conversation "today" and convince them of the value of collaborating with you.
-
If your existing scraping script is grabbing low-quality images but their website uses higher-quality images then perhaps you're not scraping the right files?
-
Why convert from png > jpg? If you're re-processing already-low-res images, you're going to end up with even lower quality images.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.