I need to find the better way to process on a .png file to simply reduce it's quality. In fact, I don't want to resize or apply filters on the image, just reduce the weight of the file (from 6mb to 1mb if possible).
If anyone knows the trick to do it, I'd be very grateful
Run pngquant serverside. Just make sure you're doing all the regular validation and parameterisation to prevent injection.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.