Double image size if not dithering

This commit is contained in:
David Eisinger
2025-01-11 01:01:03 -05:00
parent f16ceb9f0d
commit 912f3cc7f9

View File

@@ -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 \