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

jmathai / elodie / 782
90%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2019 11:10AM UTC
Jobs 2
Files 25
Run time 6s
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
782

push

travis-ci

jmathai
Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320)

Fixes #281 and #269

When elodie imports images, imghdr.what is used to determine the image
type. imghdr implementation won't support all JPEG variants. Because
of this, even for a valid JPEG file, imghdr.what returns None causing
elodie to skip the image during import.

This commit adds a fallback mechanism which uses PIL(pillow) library to
identify image formats. When imghdr fails, elodie uses pillow to
identify image format. When pillow is unavailable, it will be treated as
an invalid media file. Pillow is imported only when imghdr fails.

12 of 12 new or added lines in 1 file covered. (100.0%)

1090 of 1209 relevant lines covered (90.16%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 782.1 10 Jul 2019 11:10AM UTC 0
90.16
Travis Job 782.1
2 782.2 10 Jul 2019 11:10AM UTC 0
90.49
Travis Job 782.2
Source Files on build 782
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #782
  • 032e24b2 on github
  • Prev Build on master (#781)
  • Next Build on master (#803)
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