ImageOptim / ImageOptim/ImageOptim

PNG to JPG if size differential within threshold at certain percentage quality

Open
#350 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
10k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

I frequently find myself dealing with PNGs that should have been JPGs instead. It would be very helpful if ImageOptim would have additional logic that would compare a certain percentage compression (we could set it to 85% or 90% or higher quality) and if there is a 10% or more savings in size then changing or copying a file to a JPG from PNG should be performed.

I think that most of us would agree that such a savings with a high quality JPG output would be a worthwhile exchange and it happens for some of us frequently enough that it would be useful to have.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing ImageOptim's existing PNG optimization and JPG conversion behavior. Define the quality and savings thresholds, whether the PNG should be replaced or copied, and verify that qualifying PNGs produce the intended JPG without affecting other images.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.