• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cshum / imagor / 21055001894
92%

Build:
DEFAULT BRANCH: master
Ran 16 Jan 2026 03:58AM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jan 2026 03:52AM UTC coverage: 92.364% (-0.04%) from 92.402%
21055001894

push

github

web-flow
fix: convert to sRGB before stripping ICC profile to preserve colors (#702)

* fix: convert to sRGB before stripping ICC profile to preserve colors

When strip_icc() removes an ICC profile from an image in a non-sRGB color
space (ProPhoto RGB, Adobe RGB, etc.), the pixel values remain in the original
color space but browsers assume untagged images are sRGB. This causes colors
to appear dull/muted.

Now strip_icc() converts to sRGB using vips_icc_transform() before removing
the profile, preserving correct color appearance.

Also adds to_colorspace(profile) filter for explicit ICC profile conversions.

Fixes #324

* fix typo

* add test cases

* add test cases

* add test cases

* add test cases

* test: update golden files

---------

Co-authored-by: Mevin <mevinbabuc@gmail.com>
Co-authored-by: cshum <293790+cshum@users.noreply.github.com>

20 of 24 new or added lines in 2 files covered. (83.33%)

5431 of 5880 relevant lines covered (92.36%)

1.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
88.61
-0.23% processor/vipsprocessor/filter.go
Jobs
ID Job ID Ran Files Coverage
1 21055001894.1 16 Jan 2026 03:58AM UTC 46
92.36
GitHub Action Run
Source Files on build 21055001894
  • Tree
  • List 46
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4b12e78e on github
  • Prev Build on master (#21054992750)
  • Next Build on master (#21055021167)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc