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

hugovk / Pillow
85%
master: 86%

Build:
Build:
LAST BUILD BRANCH: github-actions-pypy3-is-broken
DEFAULT BRANCH: master
Repo Added 02 Apr 2014 07:48AM UTC
Files 1050
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

LAST BUILD ON BRANCH minusdavid-2926
branch: minusdavid-2926
CHANGE BRANCH
x
Reset
  • minusdavid-2926
  • 1104
  • 1104-eps
  • 1163
  • 1163b
  • 1185
  • 1229_xbm
  • 1301_integer_expected
  • 1328_mpo_fix
  • 1434_pickle
  • 2076-pypy-numpy
  • 256x256-ico
  • 2792-segfault
  • 2944-exif
  • 2950-install-not-iterable
  • 3.8-appveyor
  • 3006-parser-feed
  • 4.4.0-5.0.0
  • 4bittiff
  • 6.2.1-last-2.7
  • 6.2.1-releasenotes
  • 6.2.x-add-3.8
  • 7.0.0-docs
  • 771_segfault
  • 869
  • 90a94e7d-used-to-pass-appveyor
  • 947fix
  • CONTRIBUTING
  • CurImagePlugin
  • DO-NOT-MERGE
  • DO-NOT-MERGE-2
  • DO-NOT-MERGE-3
  • DcxImagePlugin
  • FontFile
  • GimpGradientFile
  • HEAD
  • Image
  • ImageFont
  • ImageGrab
  • ImageMath
  • ImagePalette
  • ImageWin
  • IptcImagePlugin
  • JHei-master
  • MspImagePlugin
  • PYTHONOPTIMIZE
  • PalmImagePlugin
  • PyQt5
  • RELEASING
  • ResourceWarning
  • ResourceWarning-cherrypicked
  • ResourceWarning-test
  • ResourceWarning2
  • ResourceWarning3
  • SgiImagePlugin
  • SpiderImagePlugin
  • SunImagePlugin
  • TiffImagePlugin
  • XpmImagePlugin
  • _GNU_SOURCE
  • __main__
  • _util
  • actions-for-forks
  • add-3.7
  • add-3.8
  • add-3.8-dev
  • add-3.8b
  • add-5.4.1-release-notes
  • add-FUNDING.yml
  • add-appveyor-pypy3
  • add-azure
  • add-azure-docker
  • add-azure-pipelines
  • add-bionic
  • add-cve-numbers
  • add-deprecations-and-removals-docs
  • add-fedora-31
  • add-github-actions-lint
  • add-release-notes
  • add-security-policy
  • add-width-to-shapes
  • add-width-to-shapes-merge
  • aeroaks
  • allow_pypy_failures
  • andreas-schwab/master
  • anntzer-tiff-resolution
  • anntzer-tiff-resolution2
  • antialias
  • appveyor-3.5
  • appveyor-3.8
  • appveyor-coverage
  • appveyor-debug
  • appveyor-debug-mingw
  • appveyor-deploy
  • appveyor-pillow-depends-cache
  • appveyor-pillow-depends-clone
  • appveyor-python3
  • appveyor-rdp
  • appveyor-rm-3.6-3.7
  • appveyor-update-pypy
  • appveyor35
  • appveyor_fast_fail
  • appveyor_versioning
  • apt-get-webp
  • aptgetwebp
  • arg
  • avoid-random-noise-failure
  • avoid-random-noise-failure2
  • azure-basics
  • b64decode
  • badges
  • benoit-pierre-fix-webp-memory-leak
  • bionic-ci
  • bomb
  • bomb2
  • bomb_fix
  • bomb_warning
  • build-pillow-wheels
  • build-stages
  • cache
  • cache-pip
  • caching
  • change-freetype2.7-epsilon
  • changelog
  • check-coverage-of-dockerfiles-only
  • check-manifest-on-ci
  • check-manifest-on-travis
  • ci-vm
  • cleanup-test_image_toqimage
  • codecov
  • codecov-bash
  • codecov-fix-missing-base-report
  • collections.abc-deprecationwarning
  • compress-level
  • compress_level
  • container
  • convert-matrix
  • count_flake8
  • cover-tests
  • cover_pypy2
  • coverage-test
  • coveralls3.2
  • crop_integers
  • dds
  • debug
  • debug2
  • debugdistutils
  • default-pypy-pypy3
  • default-to-codecov
  • deferred_error_regression
  • depends
  • deprecate-Image.__del__
  • deprecate-eol-qt
  • deprecate-python2.7
  • deprecate-versions
  • diff_cover
  • diff_cover_just_testing
  • diffcover
  • diffcover-flake8
  • docs-7.0.0
  • docstring
  • document-deprecated-plugin-versions
  • document-extrema
  • dont-test-2.7
  • dotify
  • downloads-badge
  • dpi-from-exif
  • dpi-is-a-tuple
  • dpi-is-a-tuple2
  • effects
  • ensure-coverage-installed
  • eps_tests
  • exif-resolution-as-int
  • failfast
  • fix-arch
  • fix-code-inspections
  • fix-coverage
  • fix-feature-tests
  • fix-flake8
  • fix-fli-seek-load
  • fix-gha-macos
  • fix-gha-win
  • fix-invalid-string-escapes
  • fix-py2.4
  • fix-pyroma
  • fix-quanthash
  • fix-rgb2cmyk
  • fix-rst-backticks
  • fix-syntax-error
  • fix-travis
  • fix-unexpected-align
  • fix_osx_build
  • flake8
  • flake8-3.8
  • flake8-setup
  • flake8_winbuild
  • flake8b
  • flaky-pypy
  • floodfill
  • gha-3.8
  • gha-cache
  • gha-cache-windows
  • gha-cache2
  • gha-codecov-action
  • gha-codecov-bash
  • gha-codecov-bash--with-token
  • gha-codecov-bash--without-token
  • gha-fix-macos-pypy3
  • gha-macos-lcov
  • gha-qt
  • gha-system-info
  • gha-win-3.8
  • github-actions-pypy3-is-broken
  • gs-dNoCancel
  • hopper
  • hopper2
  • hopper2a
  • hopper3
  • hopper3a
  • hopper4
  • hopper5
  • house
  • https-links-in-docs
  • if0
  • ignore-userwarning
  • ignorecoveragewarning
  • imagecms-deprecations
  • imagedraw
  • imagedraw-textsize-empty-string
  • imagefont_getters
  • improve-draw-coord-docs
  • include-version-in-windows-wheel-warning
  • install
  • installation
  • issue-or-pr-opened
  • j2k
  • j2k_openjpeg
  • kill_save2
  • landscape
  • landscape-config
  • landscape-fixes
  • landscape_fixes
  • libwebp
  • licence
  • linkcheck
  • lint-can-fail
  • lotsaimages
  • main
  • make-j
  • makefile-install-coverage
  • master
  • master2
  • maxdepth
  • mingw-coverage
  • mischanix-dxtc
  • monolithlabs-animated_webp
  • monolithlabs-animated_webp-pypy
  • monolithlabs-animated_webp-sprintf
  • monolithlabs-animated_webp-sprintf2
  • more-msp-tests
  • more-msp-tests2
  • more_gimp_palette_tests
  • more_imagefont_tests
  • more_python
  • morph_flake8
  • msp_temp
  • mv-createfontdatachunk
  • mv-tk-files-to-src
  • mv-tk-to-src
  • new-branch
  • new-pypi
  • nightly-tests
  • no-docker-or-windows
  • no_parallel_for_pypy3
  • nocoverpypy
  • noise
  • non-container
  • nose-timer
  • nose_processes
  • nosetimer
  • not-implemented
  • nulano-gha-checkout-deps
  • nulano-gha-checkout-deps2
  • nulano-gha-win
  • nulano-gha-win-wip
  • numpy-zero-size
  • olefile-importerror
  • one-clip
  • one-version-number
  • only-save-relevant-sizes
  • openjpeg
  • openjpeg-j
  • openjpeg2
  • osx
  • outline
  • parallel
  • patch-1
  • pdf_test
  • pep8-to-pycodestyle
  • pickle
  • pickle_L_mode
  • png_clean
  • ppm-fixed-whitespace-list
  • pr1123fixup
  • prevent-nosetest-printing-docstrings
  • processes_nose
  • processes_nose2
  • processes_nose3
  • processes_nose3a
  • public_gamma_lut
  • py35
  • pycparser-workaround
  • pyflakes
  • pypy
  • pypy-5.4.1
  • pypy-5.4.1-skip
  • pypy-regression
  • pypy3
  • pypy3.3-5.2-alpha1
  • pypy3.5-5.8.0
  • pypy3.6-v7.2.0
  • pypy3_performance
  • pypykle-temp
  • pyqt
  • pyroma
  • pyroma2.6
  • pyroma_for_all
  • pyside
  • pytest
  • pytest-parallel
  • pytest-temp
  • pytest2
  • pytest3
  • pytest4
  • python-m-pip-install
  • python3-makefile
  • python3.6dev
  • python3.6dev-find-bad-escapes
  • python310-compatibility
  • python_dev
  • python_dev2
  • python_requires
  • qt
  • qt2.7
  • radarhere-features
  • radarhere-gd
  • radarhere-zlib
  • release-notes
  • remove-unused-new_array
  • remove__make_gamma_lut
  • remove_imagingtiff
  • remove_tearDownModule
  • report-pytest-skips
  • retry_pyroma
  • revert-pycparser-workaround
  • revert-pyroma-workaround
  • rlock-pypy-nightly
  • rm-2.7
  • rm-3.4
  • rm-VERSION
  • rm-after_all
  • rm-del-draw
  • rm-deprecated-PILLOW_VERSION
  • rm-deprecated-bdist_wininst
  • rm-deprecated-fn
  • rm-deprecated-imageops
  • rm-deprecated-qt
  • rm-deprecationwarnings
  • rm-draw_line
  • rm-draw_line2
  • rm-eol-fedora-25
  • rm-eol-trusty
  • rm-fedora-29
  • rm-if-0
  • rm-im.getdraw
  • rm-lt-python3.3
  • rm-olefile-deprecation
  • rm-plugins-__version__
  • rm-preinit
  • rm-python3.3
  • rm-quanthash-destroy-funcs
  • rm-six
  • rm-skipping
  • rm-ttb-docs
  • rm-unused-_new_array
  • rm-unused-fn
  • rm-unused-from-c
  • rm-unused-from-path.c
  • rtd.io
  • run-black
  • run-black-master
  • run-black2
  • run-black3
  • run-check-manifest-on-travis
  • run-faster-dockers-last
  • sane
  • scrapy_1460
  • scrutinizer
  • setup_classifiers
  • simplify-version-checks
  • single_image_dir
  • single_version
  • skip-arch
  • skip_pyroma_test_on_pypy
  • skippyroma
  • spider
  • standard_b64decode
  • style_health
  • temp-black
  • temp-no-pip-cache-mingw
  • temp_coverage_report
  • test
  • test--with-coverage
  • test-arch
  • test-arch2
  • test-bufrstub
  • test-containerio
  • test-docker-with-github-actions
  • test-effects
  • test-effects2
  • test-fpx
  • test-gribstub
  • test-hdf5stub
  • test-imagechops
  • test-imagedraw2
  • test-imagedraw2-on-pypy6
  • test-imagedraw2b
  • test-imagemorph
  • test-imagemorph2
  • test-imtimageplugin
  • test-macos-with-github-actions
  • test-mcidas
  • test-mic
  • test-pixar
  • test-psd
  • test-psd2
  • test-travis-2
  • test-wal
  • test-windows-with-github-actions2
  • test-with-github-actions
  • test-with-github-actions2
  • test-with-github-actions3
  • test-xvthumb
  • test_647
  • test_cleanup
  • test_file_jpeg2k_tempfile
  • test_file_tiff
  • test_fpx
  • test_image_point_pypy
  • test_imagedraw
  • test_imagedraw2
  • test_imagetk
  • test_imaging_stretch
  • test_psdraw
  • test_tiff_dict
  • testimagingstretch
  • tga-rle
  • tga_temp
  • tiff-lzw
  • tiff_ints
  • tiff_jpegtables
  • tifftags
  • timer
  • transparency
  • travis-3.9-dev
  • travis-arch
  • travis-build-stages
  • travis-gce
  • travis-rm-docker
  • travis-test
  • travis_14.04
  • travis_arch
  • travis_pypy3
  • travis_retry
  • travis_retry-install
  • unfreeze-requirements.txt
  • unicode-font-path
  • unittest
  • unittest0
  • unittest1
  • unittest1merge
  • unittest2
  • unittest2tempfile
  • unittest3
  • unittest3b
  • unittest3installed
  • unused-decoders
  • unused_decoders
  • unused_var
  • update-RELEASING
  • update-appveyor-pypy
  • update-classifiers
  • update-docker
  • update-docs
  • update-docstrings
  • update-fedora
  • update-freetype-epsilon
  • update-issue-template
  • update-pypy
  • update-release-checklist
  • update-release-notes
  • update-tests
  • update-version
  • update_pythons
  • upgrade-appveyor-to-pypy-6.0.0
  • upgrade-appveyor-to-pypy-6.0.0-re-enable-tests
  • upgrade-gha-macos
  • upgrade-pip
  • upgrade-pyopenssl
  • upgrade-pypy
  • verbose_failfast
  • version-newlines
  • warn-win-3.7
  • warning
  • webp
  • webp0-4-1
  • win_build_all_branches
  • winbuild_flake8
  • windows-gs-popup
  • windows-latest
  • winpy3.5
  • wiredfool-cleanup
  • wiredfool-multiline_text
  • wiredfool-multiline_text-plus4
  • wiredfool-multithreaded_testing
  • workaround-pip-cache-bug
  • workaround-windows-pypy-error
  • xenial-ci
  • zewt-gif-transparency

pending completion
1520

push

travis-ci

minusdavid
Issue 2926: enabling TIFF_JPEGCOLORMODE as JPEGCOLORMODE_RGB

Pillow 5.0.0 throws a fatal error when reading TIFF files
containing compressed JPEG files. The error, which originates
from libtiff/tif_jpeg.c, says to try enabling TIFF_JPEGCOLORMODE
as JPEGCOLORMODE_RGB.

This patch enables TIFFTAG_JPEGCOLORMODE as JPEGCOLORMODE_RGB when
reading a TIFF containing a compressed JPEG. This prevents the
fatal error.

However, when doing file format conversions, there is a problem
with the colours. Greyscale works fine but colours only appear
in the Cr section of YCbCr which suggests there is still some
other problem either with the JPEG decoding or something else.

77545 of 91206 relevant lines covered (85.02%)

601404.05 hits per line

Relevant lines Covered
Build:
Build:
91206 RELEVANT LINES 77545 COVERED LINES
601404.05 HITS PER LINE
Source Files on minusdavid-2926
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1520 minusdavid-2926 Issue 2926: enabling TIFF_JPEGCOLORMODE as JPEGCOLORMODE_RGB Pillow 5.0.0 throws a fatal error when reading TIFF files containing compressed JPEG files. The error, which originates from libtiff/tif_jpeg.c, says to try enabling TIFF_JPEGCOLORMODE ... push 02 Mar 2018 11:45AM UTC minusdavid travis-ci pending completion  
See All Builds (2656)
  • Repo on GitHub
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

© 2025 Coveralls, Inc