Matthew Tretter
e4c4fe02b3
Separated Crop.process() and Fit.process()
...
They didn't have enough in common to warrant them being branches of the
same method.
2011-09-21 18:24:02 -04:00
Matthew Tretter
a71b3ca337
Removed Format processor
...
The Format processor was really a special case and didn't do any
processing at all. Instead, ImageSpec just knew to look for it and
responded accordingly. Therefore, it's been replaced with a `format`
property on ImageSpec. This warranted a deeper look at how the format
and extension were being deduced (when not explicitly provided); the
results are documented in-code, though the goal was "no surprises."
2011-09-20 21:34:00 -04:00
Matthew Tretter
4c78f2d24c
_imgfield is now a property of ImageSpec
...
Moved _imgfield from ImageModel to ImageSpec. Theoretically, this will allow you
to have specs that use different image fields on the same model.
2011-09-10 00:24:37 -04:00
Matthew Tretter
a1f11facbe
Processors now use static properties.
2011-09-08 16:49:44 -04:00
Matthew Tretter
e32ccb617d
Resize split into Crop and Fit.
2011-09-08 10:28:54 -04:00
Matthew Tretter
cd3395b68f
Processors are now instance-based.
2011-09-08 10:28:50 -04:00
Justin Driscoll
125c2c1470
Cleaned up trailing whitespace
2009-12-19 11:01:54 -05:00
Justin Driscoll
eb97ed1180
spec.name now respects the upload_to path and added additional error handling to Transpose:auto
2009-07-19 15:26:53 -04:00
Justin Driscoll
68b8d46a2f
Added 'auto' method to Transpose processor
2009-07-19 15:04:43 -04:00
Justin Driscoll
70da53ba4d
Added format processor to force a format/extension change
2009-06-04 11:47:16 -04:00
Justin Driscoll
47e087e3b4
Fixed handling of palleted images
2009-06-04 11:06:11 -04:00
Ariel Nunez
920bf47128
Added setup.py and relocated source dir
2009-02-02 15:46:41 -05:00