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

jmathai / elodie / 781
90%

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

push

travis-ci

web-flow
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.

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

1097 of 1210 relevant lines covered (90.66%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 781.1 10 Jul 2019 11:04AM UTC 0
90.17
Travis Job 781.1
2 781.2 10 Jul 2019 11:04AM UTC 0
90.5
Travis Job 781.2
Source Files on build 781
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #781
  • a8fac874 on github
  • Prev Build on master (#748)
  • Next Build on master (#782)
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