danielgtaylor / danielgtaylor/jpeg-archive

More granularity for the strip option

Open
#37 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.2k
Forks
131
PR merge metrics
No merged PRs in 30d

Description

I need for some images to keep the color profile (ICC) in order to avoid color degradation. The original images is in AdobeRBG (rather than sRGB).

I see that jpegoptim has this kind of choice :

```
-s, --strip-all strip all markers from output file
--strip-none do not strip any markers
--strip-com strip Comment markers from output file
--strip-exif strip Exif markers from output file
--strip-iptc strip IPTC/Photoshop (APP13) markers from output file
--strip-icc strip ICC profile markers from output file
--strip-xmp strip XMP markers markers from output file
```

Do you know if keeping the ICC profile is easily feasible in jpeg-recompress ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the jpeg-recompress implementation of the strip option and tracing how JPEG markers are handled. Compare its behavior with jpegoptim's --strip-icc choice, then verify that an AdobeRGB image can retain its ICC profile without preserving unwanted markers.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.