From e8d4b6346aa314e26ddee395f5e432df776e2377 Mon Sep 17 00:00:00 2001 From: vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> Date: Sat, 17 Aug 2024 18:48:39 +0200 Subject: back to basics Sorry Tyler, but your code was too hard to work with, caused more problems while basically solving none. At first I wanted to solve the background problem (no, replacing fully transparent pixels with white is NOT a good way to make a white background) but the API is complicated when just using the convert command is like one (1) line of code compared to the long-ass thing that magickwand requires I don't think it is any less safe to do it that way compared to what you were doing, also I am using convert directly as opposed to before when I used to pipe user input to sh like a psychopath so that's an improvement i guess --- go.mod | 1 - 1 file changed, 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 544ac4c..51309f8 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,6 @@ require ( github.com/joho/godotenv v1.5.1 github.com/lib/pq v1.10.9 golang.org/x/crypto v0.21.0 - gopkg.in/gographics/imagick.v3 v3.7.0 ) require ( -- cgit v1.2.3