Commit graph

323 commits

Author SHA1 Message Date
Matthew Tretter
0b02a7158e Add link to readthedocs
I think people don't know we have more documentation than the
README that github is showing.
2012-02-11 16:00:11 -05:00
Matthew Tretter
2467dfe912 Rename resize.Crop to resize.Fill 2012-02-11 13:36:30 -05:00
Matthew Tretter
c3ef5172c3 Rename ImageSpec to ImageSpecField
The ImageSpec class remains for now, but using it throws
deprecation warnings.
2012-02-11 13:06:48 -05:00
Matthew Tretter
c2a4d01b7c Only one return 2012-02-10 22:04:20 -05:00
Matthew Tretter
09b97ee62f Move SmartCrop to crop module
Addresses one of the issues raised by in @madisvain in #93
2012-02-10 19:42:36 -05:00
Jan Sagemueller
a041302c96 Resize processor: Add mat_color option to enforce the targeted image size 2012-02-08 09:25:37 -05:00
Timothée Peignier
eb801d75f5 small pep8 formatting fix 2012-01-27 13:45:22 +01:00
Matthew Tretter
343f14ad48 Use old-style string formatting 2012-01-26 18:19:39 -05:00
Bryan Veloso
8447064936 Adding @cyberdelia to AUTHORS. 2012-01-26 13:34:54 -08:00
Timothée Peignier
3bac472561 ImageSpec accepts callable processors arg 2012-01-26 11:01:58 -05:00
Bryan Veloso
eca968599d Merge pull request #83 from richleland/tox
Added config file for tox. Closes #31.
2012-01-06 18:16:19 -08:00
Rich Leland
c384672f5d Added tox config file. 2012-01-06 21:08:41 -05:00
Rich Leland
833af52734 Ignore tox files, test media folder. 2012-01-06 21:03:16 -05:00
Bryan Veloso
f882e226a6 Wrong theme name? 2012-01-06 02:07:25 -08:00
Bryan Veloso
49da2b22f6 Adding @kennethreitz's Sphinx style. 2012-01-06 01:52:56 -08:00
Bryan Veloso
cf8ec71e00 reST slays me. :( 2012-01-06 01:52:56 -08:00
Matthew Tretter
6333ee5d05 Makes Adjust transparency-compatible
And closes #64!
2012-01-03 18:57:32 -05:00
Bryan Veloso
c5c0402c89 Merge branch 'release/1.1.0' into develop
* release/1.1.0:
  Adding (crude) changelog information for 1.1.0.
  Bumping the version number.
  Removing Pillow from requirements.txt and adding a note about PIL/Pillow to the README. References #72.
  Being a bit friendlier to Python 2.5 users... or is it 2.4. Fixes #82.
2011-12-22 22:18:51 -08:00
Bryan Veloso
68763fa5b1 Adding (crude) changelog information for 1.1.0. 2011-12-22 22:14:32 -08:00
Bryan Veloso
3bacd51ba5 Bumping the version number. 2011-12-22 22:14:14 -08:00
Bryan Veloso
2a275f094c Removing Pillow from requirements.txt and adding a note about PIL/Pillow to the README. References #72. 2011-12-22 21:58:42 -08:00
Bryan Veloso
c16b008a34 Being a bit friendlier to Python 2.5 users... or is it 2.4. Fixes #82. 2011-12-22 21:48:15 -08:00
Matthew Tretter
e574f1190f Merge pull request #73 from cyberdelia/fix-transpose-exif
Catch error when exif data doesn't exist
2011-12-07 21:37:48 -08:00
Matthew Tretter
dd28557323 Change handling of spec deletion
Though it's not the case with `FileSystemStorage`, attempting to delete
a nonexistent file can cause an exception (as in #80). We want to avoid
these errors but don't want to suppress others raised in the process of
deleting the file, so we first check to see if the file exists.
2011-12-07 00:52:06 -05:00
Matthew Tretter
081a0a0d0f No need to check for None
`get_spec_files` will never return it.
2011-12-07 00:37:52 -05:00
Kevin Postal
eda3fc3c91 Catch KeyError on image.info dictionary 2011-12-06 23:29:30 -05:00
Matthew Tretter
8bab75b331 Merge pull request #66 from matthewwithanm/trimcolor-processor
Processor for trimming solid-color borders
2011-12-06 10:04:39 -08:00
Matthew Tretter
358bb1f6b0 Using difference instead of subtract
This corrects the border removal, however, I'm not certain whether the
interpretation of "tolerance" gels with expectations.
2011-12-06 12:56:50 -05:00
Matthew Tretter
96878105e9 Indentation tweak 2011-12-02 02:46:27 -05:00
Matthew Tretter
eb425fbae9 Makes evaluation of source_file lazy
This paves the way for future updates that will fix bugs related to
specs not reflecting updates to their source image fields.
2011-12-02 02:28:08 -05:00
Matthew Tretter
d036343adc Test illustrating #75, #74 2011-12-02 02:19:27 -05:00
Matthew Tretter
1137487689 Separate create_photo method 2011-12-02 02:19:12 -05:00
Timothée Peignier
54d5237adc avoid Transpose to crash when exif data doesn't exists 2011-11-28 16:00:34 +01:00
Matthew Tretter
ee1fb7f943 Allows None value for processors argument
Fixes #70
2011-11-23 19:34:59 -05:00
Matthew Tretter
5ecdeb1209 Remove _Resize class
It once had a purpose, but it hasn't for a while.
2011-11-22 23:41:18 -05:00
Matthew Tretter
5579c8db3c Adds crop module to docs 2011-11-22 23:12:54 -05:00
Matthew Tretter
25be1f66ca Explicitly import crop module
So you can `import crop from imagekit.processors`
2011-11-16 15:17:11 -05:00
Matthew Tretter
ed64032762 Renames processor to TrimBorderColor 2011-11-16 15:16:24 -05:00
Chris Drackett
b89bc96e4b Merge pull request #68 from matthewwithanm/options-arg
Replaces `quality` argument with `options` dict
2011-11-16 08:36:37 -08:00
Matthew Tretter
62d39ccf9e Gives precedence to user options
Previously, options set by `AutoConvert` had higher precedence than
those explicitly passed by the user. This corrects that.
2011-11-16 10:27:18 -05:00
Matthew Tretter
788365d6db Replaces quality argument with options dict
The `options` argument for `ImageSpec` and `ProcessedImageField`
replaces `quality` and provides a more general solution, allowing the
user access to PIL's format-specific options (including "quality",
"progressive", and "optimize" for JPEGs).
2011-11-16 10:00:35 -05:00
Matthew Tretter
cfd503a2eb TrimColor processor 2011-11-16 00:11:05 -05:00
Bryan Veloso
8c64307e5a Moving Matt to maintainers. 2011-11-11 16:20:13 +09:00
Bryan Veloso
25a7536a26 Adding Alexander Bohn (@fish2000) to AUTHORS. 2011-11-11 16:19:28 +09:00
FI$H 2000
7ce43309ad Adds SmartCrop resize processor, with tests. 2011-11-10 10:54:58 -05:00
Bryan Veloso
2dad6fb88d Adding a requirements.txt file for ReadTheDocs' sake. 2011-11-10 16:05:09 +09:00
Bryan Veloso
882cf87ec3 No longer need this and nothing's pointing to it anyway. 2011-11-10 16:04:49 +09:00
Bryan Veloso
3bd7b59046 Fixing some spelling errors, thanks @ptone. 2011-11-10 15:51:48 +09:00
Bryan Veloso
78709be23c We're at 1.1.0dev, for real this time. 2011-11-10 15:39:47 +09:00
Bryan Veloso
99120ef63b Merge branch 'release/1.0.3' into develop
* release/1.0.3:
  Bumping version numbers.
  Changelog for 1.0.3.
2011-11-10 15:30:53 +09:00