mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] Changing the dpi resolution


From: Adrián Isaías González Ceja
Subject: Re: [GMG-Devel] Changing the dpi resolution
Date: Wed, 26 Sep 2018 17:23:18 -0000

Hi Devel community

After some tests, the dpi it does change, I'm just responding this to let you all know, now my question is, is it the best way to do it or is there already a method to it? thank you again! 

El mar., 25 sept. 2018 a las 16:42, Adrián Isaías González Ceja (<address@hidden>) escribió:
Hi devel community! 

Is there any way to change the dpi resolution of the pictures? I've been playing with the dpi parameter in the mediagoblin/media_types/image/processing.py:80 file, but it doesn't affect my picture. Here's what I've change:

    resized.save(tmp_resized_filename, quality=quality, dpi=(72, 72))

Thank you for all the great work and time, my best regards, Adrián.


--
Adrián Isaías González Ceja
Desarrollador | FiPa Software
+52 (33) 3601-9174 | http://fipasoft.com.mx


reply via email to

[Prev in Thread] Current Thread [Next in Thread]