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

jpmckinney / image-proxy / 36 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 04 May 2016 07:19AM UTC
Files 1
Run time 0s
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

04 May 2016 07:18AM UTC coverage: 100.0%. Remained the same
MODULES=""

Pull #22

travis-ci

equivalentideas
Convert the image if a format is specified

Currently, if you include an 'extension' in your request, the
Content-type of the response will match that format, no matter what
image format the source image was.

However, this doesn't actually reformat the image. It just changes the
Content-type on the response headers.

Reformatting the actually image provides more control, such as accessing
the nice image compression you get from the jpeg format.

This commit passes the 'extension' to the .stream() function.
The image is streamed back in the specified format.

If no 'extension' has been specified by the user, it falls back to the
Content-type of the source image.
Pull Request #22: Convert the image if a format is specified

66 of 66 relevant lines covered (100.0%)

10.17 hits per line

Source Files on job 36.2 (MODULES="")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 36
  • Travis Job 36.2
  • 160b1e6a on github
  • Prev Job for MODULES="" on master (#35.6)
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