* release/1.0.2:
Fixing some reST syntax.
Bumping version numbers.
Adding a changelog.
Basic tests for extension_to_format and format_to_extension. References #45.
Fix in `format_to_extension` mapping
On-demand loading of PIL plugins
Fix conversion of PNG "palette" or "P" mode images to JPEG. "P" mode images need to be converted to 'RGB' if target image format is not PNG or GIF.
Back to dev.
* release/1.0.1:
Bumping docs to 1.0.1.
Bumping version to 1.0.1.
Making sure the templates make it via pip. Fixes#39.
Generated filename is cached
Fixes extension guessing based on image format
No longer an alpha.
Including README.rst and the docs in MANIFEST.in. Fixes#40.
Develop is now v1.1.0.dev.
Slightly updated README to correctly render as reStructuredText.
IK relies on PIL's EXTENSION list to map formats to extensions.
However, this list normally isn't populated until an image is loaded.
This change forces the population of the list before examining it.
* release/1.0.0: (68 commits)
Tests now run again.
PEP8-ing and whitespacing.
Requiring versiontools and patching up our setup.py.
adding introspection rule for users with south
PEP8 and import tweaks.
fixing typo
ImageSpecFile is a proper File
Typo fix
A list of ImageSpec names are now stored on the model.
AdminThumbnailView is now AdminThumbnail
Docs typo fix
Adds explicit import of resize module to processors
fixing bad import in docs
adding name to AUTHORS
adding test for new api
Moved Crop and Fit to resize module.
More docs edits.
Typo fix.
Installation instructions.
Embracing duck typing.
...
Conflicts:
README.rst
* release/1.0.0: (68 commits)
Tests now run again.
PEP8-ing and whitespacing.
Requiring versiontools and patching up our setup.py.
adding introspection rule for users with south
PEP8 and import tweaks.
fixing typo
ImageSpecFile is a proper File
Typo fix
A list of ImageSpec names are now stored on the model.
AdminThumbnailView is now AdminThumbnail
Docs typo fix
Adds explicit import of resize module to processors
fixing bad import in docs
adding name to AUTHORS
adding test for new api
Moved Crop and Fit to resize module.
More docs edits.
Typo fix.
Installation instructions.
Embracing duck typing.
...
Conflicts:
README.rst
* release/0.4.1:
Discontinuation notice.
Future-proofing our PIL imports, fixes#37.
Whitespacing and PEP8-ing.
Clearing out some unused imports.
We no longer import *.
Prefer cStringIO.
Killing off some stray tabs.
Changed id to pk in case the primary key isn't called 'id'
Adding Ryan to AUTHORS.
dynamically getting colors, instead of setting it to 255
adding transparency patch to preserve transparency when saving the image
Making versioning a little easier on myself.
error fix: https://github.com/jdriscoll/django-imagekit/issues/25
Fixing some spelling. Fixes#29. Thanks Nai!
Tests now pass and don't leave any directory cruft. Fixes#28.
Adding a test runner script a la #daniellindsleyrocksdahouse.
Creating a "core" test module.
Creating a dedicated tests directory.
Let's get these docs started.
Added support for preserving transparency when converting from color to greyscale
* 'new_api' of https://github.com/matthewwithanm/django-imagekit: (63 commits)
fixing typo
ImageSpecFile is a proper File
Typo fix
A list of ImageSpec names are now stored on the model.
AdminThumbnailView is now AdminThumbnail
Docs typo fix
Adds explicit import of resize module to processors
fixing bad import in docs
adding name to AUTHORS
adding test for new api
Moved Crop and Fit to resize module.
More docs edits.
Typo fix.
Installation instructions.
Embracing duck typing.
Documentation!
Fix bug
Bound fields are now cached on the model instance.
Transpose processor now supports auto EXIF orientation.
Fix filename formatting.
...
Conflicts:
AUTHORS
README.rst
docs/Makefile
docs/conf.py
docs/index.rst
imagekit/__init__.py
imagekit/defaults.py
imagekit/management/commands/ikflush.py
imagekit/models.py
imagekit/options.py
imagekit/processors.py
imagekit/specs.py
tests/core/tests.py
Previously, ImageSpecFile was a file-like object, but didn't actually
extend any of the file classes. Because of this, some of Django's file-
handling code was duplicated. More importantly, instances didn't always
behave as one might expect (if one were familiar with ImageFields),
particularly when the source image was empty. This could have been
especially confusing in templates. (For example, because
ImageSpecFields whose source images didn't exist were still truthy.)
Previously, ImageSpecFile instances were retrieved (for saving and deleting,
among other possibilities) by iterating over the model instance's attributes.
This change adds ImageSpecFile names to a list (spec_file_names) on an
imagekit meta object on the model (_ik), making later retrieval much cheaper
and more straightforward.
I never liked that the "AdminThumbnailView" was supposed to be defined
on the model, but never looked into it.
This commit puts the definition back where it belongs: in the admin.
Instead of requiring you to add a field (with view logic) to your
model, you now just add a property to your admin class and specify
that property in the `list_display` list.