Report tool to assist in refining the quality settings of jpeg images for website.
This tool is used to form a consensus on jpeg quality settings within the development team.
Early stages of front-end development.
No. This tool does not provide a quantitative assessment of image quality. Users decide on the jpeg quality by looking at the report.
I need a tool to discuss reasonable jpeg quality settings with my team members in the early stages of front-end development.
Quality settings in jpeg have a large impact on the display speed of a website. In the early stages of front-end development, members do not have time to decide that configuration. It will be difficult to change this setting after development has progressed.
This tool requires node.js.
Collect images to be posted on your website.
Copy the files in this repository to your PC.
In the unzipped directory, run this command.
npm ci
Copy your collected images into this directory.
src/img/jpg_photo/
npm run publish
This tool recompresses images and outputs a report.
Please access the report at this URL.
CHART
shows the compression ratio of images and size of images.
COMPARE
displays the results of recompression of the same image.
Pick up one random image and refine the quality by following the steps below.
- Display the highest quality image on one side and the lowest quality image on the other.
- Increase the quality of the lowest quality image and stop when no difference can be seen compared to the highest quality side.
Images with a lot of gradients are vulnerable to jpeg compression, and lowering the quality setting will ruin the gradients. Change the compression ratio and find out at which quality the gradation fails.
Please fill in the checklist below. It will provide a basis for setting image quality that all parties involved can share an awareness of the problem.
- All lossy compressed images should be set to image quality [n] or lower, since the file size jumps when the image quality [n] or higher is used. (e.g. 80)
- Use image library ( jpegOptim | mozjpeg | others ).
- The image quality that does not fail for average images is [n]. ( e.g. 60 )
- The image quality that does not fail for compression-sensitive images is [n]. ( e.g. 75 )
- The overall image compression setting is [n]. This reduces the display time and has a positive effect on the conversion rate.
- The effect of transfer reduction by webP is about [n] % compared to jpeg.
- The number of users benefiting from webP is [n] % of the total.
- Use webP (yes | no).