Changeset - 5a40bd00f700
[Not reviewed]
0 1 0
Tobias - 5 years ago 2019-01-17 02:44:40
tobiasschulmann@catalyst.net.nz
Reduce DPI for print
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vendor/registrasion/registrasion/views.py
Show inline comments
...
 
@@ -1157,7 +1157,7 @@ def badge(request, user_id, format="png"):
 

	
 
    return render_badge(user, format=format)
 

	
 
def _convert_img(img, outformat="png", dpi=600, width=None):
 
def _convert_img(img, outformat="png", dpi=300, width=None):
 
    if hasattr(img, "encode"): #a string, or a SafeText
 
        img=img.encode()
 

	
0 comments (0 inline, 0 general)