TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What are best ways to down res JPG images?

1 pointsby hexeaterover 5 years ago
Our cloud service has a ton of jpgs loaded by users. The images are loaded, then viewed occasionally by auditors and sometimes automated OCR. So written once and read&#x2F;viewed ~4 times. We want to look at ways to save storage footprint, and I&#x27;d like to down sample the JPGs yet keep enough quality to keep users and automated OCR systems happy.<p>I&#x27;m hoping that someone has studied this problem and any pointers would be greatly appreciated.

3 comments

ubermanover 5 years ago
For text, 8-bit indexed png or if your scans are high quality then black and white indexed png files will be hard to top.<p>After the downsample, run them through pngquant or advpng. The latter supports zopfli via insane mode and will likely take the longest to compress with the smallest result.
评论 #21210995 未加载
egdodover 5 years ago
Storage is cheap, just buy another couple of hard drives.
benologistover 5 years ago
Why not just charge for additional storage?
评论 #21211002 未加载