From 3bf844687d20b47fe1209ebe4269b6eefee2995c Mon Sep 17 00:00:00 2001 From: Bernard Chhun Date: Sat, 18 Jun 2011 15:55:00 -0700 Subject: [PATCH] Added the quality property in the readme's ImageSpec classes just to show it is possible to change it at will. --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 9e0d85e..ebcdfdf 100644 --- a/README.rst +++ b/README.rst @@ -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]