Added the quality property in the readme's ImageSpec classes just to show it is possible to change it at will.

This commit is contained in:
Bernard Chhun 2011-06-18 15:55:00 -07:00
parent 25f628de93
commit 3bf844687d

View file

@ -67,12 +67,14 @@ Create your specifications.
# now we can define our thumbnail spec
class Thumbnail(ImageSpec):
quality = 90 // defaults to 70
access_as = 'thumbnail_image'
pre_cache = True
processors = [ResizeThumb, EnchanceThumb]
# and our display spec
class Display(ImageSpec):
quality = 90 // defaults to 70
increment_count = True
processors = [ResizeDisplay]