From 59481969a915954a9566d02b6b5abd5f5769aaca Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Mon, 27 Sep 2010 23:47:03 +1000 Subject: [PATCH] Disable chroma subsampling when saving JPEGs. --- quadtree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quadtree.py b/quadtree.py index 36d6818..8a55c4c 100644 --- a/quadtree.py +++ b/quadtree.py @@ -440,7 +440,7 @@ def render_innertile(dest, name, imgformat): # Save it if imgformat == 'jpg': - img.save(imgpath, quality=95, optimize=True) + img.save(imgpath, quality=95, optimize=True, subsampling=0) else: # png img.save(imgpath) with open(hashpath, "wb") as hashout: