placement_group_size_control #2

Closed
jmplace wants to merge 150 commits from placement_group_size_control into master
Showing only changes of commit 92c401f17c - Show all commits

View File

@ -303,6 +303,7 @@ def save_image(etudid, data):
filename = get_new_filename(etudid)
path = os.path.join(PHOTO_DIR, filename)
log("saving %dx%d jpeg to %s" % (img.size[0], img.size[1], path))
img = img.convert("RGB")
img.save(path + IMAGE_EXT, format="JPEG", quality=92)
# resize:
img = scale_height(img)