This is for when using ImageMagick to create thumbnail of only the first page.

Modified source to look like /path/filename.pdf[0] instead of /path/filename.pdf.

Doesn't seem to have negative impact on other file formats.

NB: Testing is needed, and this probably only works when using ImageMagick.
add thumbnail entropy cropping and border removal
version bump
adding support on the low level API for the dummys
fixing bug for unsupported django setting
fixing bug for dummies
removing unused import
removing a temporal change. it works now
Don't crop if upscale is disabled and image is smaller than requested

This is useful because if the original image is smaller than the
requested one it is more handy to give size to the image container
with css instead of having another image. And with an horrible
background.

Since this is a change in behaviour so maybe a new setting is due.
explain that you need to use sorl's ImageField for AdminImageMixin

If you are just looking through the docs, and end up at http://sorl-thumbnail.readthedocs.org/en/latest/examples.html#admin-examples, you'll never see the section above explaining the ImageField for models, and I and others on StackOverflow have fun into this. Here's a simple change that makes it clear.
Normalizing image url for UrlStorage

Added url sanitation to prevent error "HTTP Error 505: HTTP Version Not Supported".

* Added utf8 encode to "path"
Added comments
Added check if path is unicode
Fixed error logging.
Added support for specifying cache configuration
ref #176

Added a new setting THUMBNAIL_CACHE which defaults to 'default', but can be used to specify which cache configuration to use. This might be useful if running multiple cache clusters.

Signed-off-by: Rolf Håvard Blindheim <rolf@moota.com>
Fixes photo desaturation issue when using PIL

Cropping in PIL desaturates the image. This fixes the issue by passing into write() the color-profile on the original image by way of the image info dictionary.
Always use compat.BufferIO in pil_engine.
Merge pull request #200 from xyz666/use_bufferio_in_pil_engine

Always use compat.BufferIO in pil_engine.
Tests for normalizing UrlStorage url to prevent 505 HTTP errors #200
Merge branch 'master' of github.com:mariocesar/sorl-thumbnail

* 'master' of github.com:mariocesar/sorl-thumbnail:
  Always use compat.BufferIO in pil_engine.