mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Add TODOs
This commit is contained in:
parent
14d2193f8d
commit
848d7d7fa3
1 changed files with 2 additions and 0 deletions
|
|
@ -110,6 +110,8 @@ class ImageSpec(BaseImageSpec):
|
|||
]).encode('utf-8')).hexdigest()
|
||||
|
||||
def generate(self):
|
||||
# TODO: Move into a generator base class
|
||||
# TODO: Factor out a generate_image function so you can create a generator and only override the PIL.Image creating part. (The tricky part is how to deal with original_format since generator base class won't have one.)
|
||||
source_file = self.kwargs['source_file']
|
||||
filename = self.kwargs.get('filename')
|
||||
img = open_image(source_file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue