[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH] Create nicer thumbnails
From: |
Thomas Petazzoni |
Subject: |
Re: [Maposmatic-dev] [PATCH] Create nicer thumbnails |
Date: |
Wed, 9 Sep 2009 17:52:44 +0200 |
Pulled and pushed, thanks!
Le Wed, 9 Sep 2009 16:49:02 +0200,
Maxime Petazzoni <address@hidden> a écrit :
> ---
> scripts/maposmaticd | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/maposmaticd b/scripts/maposmaticd
> index 5874b75..03d8913 100755
> --- a/scripts/maposmaticd
> +++ b/scripts/maposmaticd
> @@ -56,7 +56,7 @@ def render_job_process(job):
> if "png" in RENDERING_RESULT_FORMATS:
> mapimg = outfile_prefix + ".png"
> i = Image.open(mapimg)
> - i.thumbnail((200,200))
> + i.thumbnail((200,200), Image.ANTIALIAS)
> i.save(outfile_prefix + "_small.png")
>
> sys.exit(0)
--
Thomas Petazzoni http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse http://www.toulibre.org
signature.asc
Description: PGP signature