I currently do a strait copy() of images that are the correct width/height to go into my site. I was wondering what sort of best practicies in Imagemagick should I be doing to ensure filesize is lowest it can be without loosing quality of the JPEG?
Share
What you can do is that identify the current image quality & size before you do your copy and compression
Example
Would return all information including
To do your own Optimization
Don’t just use fixed values .. used the information too calculated possible and ideal compression and size for the image
Example
If an image quality is
70and60is your bench mark .. all you need so do is reduce it by10%and its it is100reduce by40%.. at all times you would images with the same level of quality