Commit 7b3f2361 authored by tools.wcam-bot's avatar tools.wcam-bot

change jpg quality and resample setting

parent 557dabeb
......@@ -91,7 +91,7 @@ def gimme_image(filename,compound_site,pxl,theimage):
if pct_chg > 5:
png_info =
img = img.resize((int(basewidth),int(hsize)), Image.ANTIALIAS) + extension, **png_info) + extension, subsampling=0, quality=100, **png_info)
print "Looks like we'd have a less than 5% change in pixel counts. Skipping."
results = "PIXEL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment