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

jpmckinney / image-proxy / 36
100%

Build:
DEFAULT BRANCH: master
Ran 04 May 2016 07:19AM UTC
Jobs 4
Files 1
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
36

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%)

40.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36.1 (MODULES="express@~3 gm@1.2.0 mime@1.1.0") 04 May 2016 07:19AM UTC 0
100.0
Travis Job 36.1
2 36.2 (MODULES="") 04 May 2016 07:19AM UTC 0
100.0
Travis Job 36.2
3 36.3 (MODULES="express@~3 gm@1.2.0 mime@1.1.0") 04 May 2016 07:20AM UTC 0
100.0
Travis Job 36.3
4 36.4 (MODULES="") 04 May 2016 07:19AM UTC 0
100.0
Travis Job 36.4
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #36
  • Pull Request #22
  • PR Base - master (#35)
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