thumbnail-plus: Generate thumbnails easily and safely.
This package provides every tool you need to easily and safely generate thumbnails for JPG, GIF and PNG images.
By safely, we mean that this package should be able to handle images uploaded to a public web server without any known vulnerabilities:
File sizes are constrained and checked.
Image sizes are constrained and checked before the images are loaded into memory. Uses code from the deprecated
imagesize-conduit
by Michael Snoyman.Optionally, the original image is reencoded before being saved.
The images are processed using the GD library, which is heavily battle-tested and audited by many pairs of eyeballs.
Please report any vulnerabilities you may find, we take strive to make this library suitable for processing arbitrary images.
[Skip to Readme]
Versions | 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5 |
---|---|
Dependencies | base (>=4.6 && <5), bytestring (>=0.10), conduit (>=1.0), data-default (>=0.5), directory, either (>=4.1), gd (>=3000.7.3), resourcet (>=0.4), temporary (>=1.2), transformers (>=0.3) [details] |
License | MIT |
Copyright | (c) 2014 Prowdsponsor |
Author | Felipe Lessa, Michael Snoyman |
Maintainer | Felipe Lessa <felipe.lessa@gmail.com> |
Category | Graphics |
Home page | https://github.com/prowdsponsor/thumbnail-plus |
Source repo | head: git clone git://github.com/prowdsponsor/thumbnail-plus.git |
Uploaded | by FelipeLessa at Thu Apr 10 19:19:43 UTC 2014 |
Distributions | NixOS:1.0.5 |
Downloads | 1968 total (6 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-12-15 [all 7 reports] Hackage Matrix CI |
Modules
- Graphics
- Graphics.ThumbnailPlus
- Graphics.ThumbnailPlus.ImageSize
- Graphics.ThumbnailPlus
Downloads
- thumbnail-plus-1.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)