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

python-pillow / Pillow / 1498
88%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2014 10:11PM UTC
Jobs 8
Files 157
Run time 8min
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

pending completion
1498

push

travis-ci

wiredfool
Fixed issue #857.

When saving a JPEG and specifying 'keep' for quality or subsampling,
if the source JPEG image is in grayscale mode, don't try to find the
subsampling of the source, because grayscale images don't have any
subsampling (it's only for color components).

For the moment the fix also ignores subsampling of CMYK JPEG because
currently Pillow doesn't support encoding JPEG in YCCK mode (and
subsampling doesn't make sense in CMYK, but Pillow permits saving CMYK
JPEG with subsampling, that's a bug). This fix pass those errors
silently, i.e. it doesn't raise an error when 'keep' is used but it's
not possible to keep the subsampling (because the image is grayscale
or CMYK). I think it's the proper behavior but I'm not sure.

6 of 6 new or added lines in 2 files covered. (100.0%)

14584 of 19594 relevant lines covered (74.43%)

1589627.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
encode.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
encode.c
Jobs
ID Job ID Ran Files Coverage
1 1498.1 (MAX_CONCURRENCY=4) 02 Sep 2014 10:16PM UTC 0
73.73
Travis Job 1498.1
2 1498.2 (MAX_CONCURRENCY=4) 02 Sep 2014 10:16PM UTC 0
73.84
Travis Job 1498.2
3 1498.3 (MAX_CONCURRENCY=4) 02 Sep 2014 10:11PM UTC 0
73.82
Travis Job 1498.3
4 1498.4 (MAX_CONCURRENCY=4) 02 Sep 2014 10:14PM UTC 0
73.82
Travis Job 1498.4
5 1498.5 (MAX_CONCURRENCY=4) 02 Sep 2014 10:14PM UTC 0
74.18
Travis Job 1498.5
6 1498.6 (MAX_CONCURRENCY=4) 02 Sep 2014 10:17PM UTC 0
73.94
Travis Job 1498.6
7 1498.7 (MAX_CONCURRENCY=4) 02 Sep 2014 10:19PM UTC 0
73.94
Travis Job 1498.7
8 1498.8 (MAX_CONCURRENCY=4) 02 Sep 2014 10:17PM UTC 0
73.94
Travis Job 1498.8
Source Files on build 1498
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1498
  • 416d8e34 on github
  • Prev Build on master (#1497)
  • Next Build on master (#1501)
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