Double image size if not dithering
This commit is contained in:
@@ -14,6 +14,7 @@ get "/*" do |path|
|
|||||||
content_type "image/#{FORMAT}"
|
content_type "image/#{FORMAT}"
|
||||||
|
|
||||||
geometry = params["geo"] unless params["geo"] == ""
|
geometry = params["geo"] unless params["geo"] == ""
|
||||||
|
geometry.gsub!(/\d+/) { |n| n.to_i * 2 } if geometry && !DITHER
|
||||||
|
|
||||||
decrypted = %x(
|
decrypted = %x(
|
||||||
openssl \
|
openssl \
|
||||||
|
|||||||
Reference in New Issue
Block a user