Skip to content

Commit

Permalink
Merge pull request #6 from abertschi/feature/png
Browse files Browse the repository at this point in the history
Feature/png
  • Loading branch information
abertschi authored Dec 28, 2017
2 parents cdd3fd4 + cc172e4 commit 94ee785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion postcard_creator/postcard_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def _rotate_and_scale_image(self, file, image_target_width=154, image_target_hei

cover = resizeimage.resize_cover(image, [width, height], validate=True)
with BytesIO() as f:
cover.save(f, 'JPEG')
cover.save(f, 'PNG')
scaled = f.getvalue()

if image_export:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def find_version(*file_paths):

setup(
name='postcard_creator',
version='0.0.6', #find_version('postcard_creator', '__init__.py'),
version='0.0.7', #find_version('postcard_creator', '__init__.py'),
url='http://github.com/abertschi/postcard_creator_wrapper',
license='Apache Software License',
author='Andrin Bertschi',
Expand Down

0 comments on commit 94ee785

Please sign in to comment.