Skip to content

Commit

Permalink
Switch to JPG
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jun 15, 2015
1 parent 900ab43 commit b5cafaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Icon*
env

# Temporary deploy files
temp.png
temp.*

# Generated documentation
docs/gen
Expand Down
4 changes: 2 additions & 2 deletions memegen/domain/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Image:
@classmethod
def from_template(cls, template, text, kind):
make_meme(text.top, text.bottom, template.path)
return "../temp.png"
return "../temp.jpg"


# based on: https://github.com/danieldiekmeier/memegenerator
Expand Down Expand Up @@ -56,4 +56,4 @@ def make_meme(topString, bottomString, filename):
draw.text(topTextPosition, topString, (255, 255, 255), font=font)
draw.text(bottomTextPosition, bottomString, (255, 255, 255), font=font)

return img.save("temp.png")
return img.save("temp.jpg")

0 comments on commit b5cafaa

Please sign in to comment.