davideisinger.com

My personal website
Log | Files | Refs | README

commit 912f3cc7f9f6af498bc6aecf29e29617e338823b
parent f16ceb9f0df36df49df716765a9bb5318e2a657b
Author: David Eisinger <[email protected]>
Date:   Sat, 11 Jan 2025 01:01:03 -0500

Double image size if not dithering

Diffstat:
Mbin/dither/dither.rb | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/dither/dither.rb b/bin/dither/dither.rb @@ -14,6 +14,7 @@ get "/*" do |path| content_type "image/#{FORMAT}" geometry = params["geo"] unless params["geo"] == "" + geometry.gsub!(/\d+/) { |n| n.to_i * 2 } if geometry && !DITHER decrypted = %x( openssl \