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

inveniosoftware / flask-iiif / 221
96%

Build:
DEFAULT BRANCH: master
Ran 04 May 2018 09:06AM UTC
Jobs 4
Files 13
Run time 27s
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
221

Pull #54

travis-ci

web-flow
api: fix best fit for thumbnail, add background

* fixes for best fit case (f.e. dimensions !400,200) -
  changed variable in the formula

* expected behaviour for best fit case changed
  - now it resizes the image and keeps the ratio of
  an image and fills the background to requested size
  with black pixels - this helps to keep responsive
  images in the UI

* adds the function to fill the pixels with
  black background if the best fit is smaller
  than requested thumbnail box size - preserves
  the thumbnail ratio

* add the function to fill the background with
  black pixels for GIF if the best fit is
  smaller than requested window size

* provides testing cases for portrait, landscape
  and fixed best fit case
Pull Request #54: api: fix best fit for thumbnail, add background

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

428 of 438 relevant lines covered (97.72%)

3.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 221.1 (REQUIREMENTS=lowest) 04 May 2018 09:06AM UTC 0
97.72
Travis Job 221.1
2 221.2 (REQUIREMENTS=lowest) 04 May 2018 09:06AM UTC 0
97.72
Travis Job 221.2
3 221.3 (REQUIREMENTS=release) 04 May 2018 09:06AM UTC 0
97.72
Travis Job 221.3
4 221.4 (REQUIREMENTS=release) 04 May 2018 09:06AM UTC 0
97.72
Travis Job 221.4
Source Files on build 221
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #221
  • Pull Request #54
  • PR Base - master (#219)
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