Package Info


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 '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.

License: MIT



Package Version Update ID Released Package Hub Version Platforms Subpackages
1.0.5-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-thumbnail-plus
  • ghc-thumbnail-plus-devel