diff options
author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-08-17 18:48:39 +0200 |
---|---|---|
committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-08-17 18:48:39 +0200 |
commit | e8d4b6346aa314e26ddee395f5e432df776e2377 (patch) | |
tree | 94e7879971aa6320026c8dfe511b276c7392714c /database/database.go | |
parent | 747cbf84f241eb699d0d00448a71ae2d3cdffb7b (diff) |
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
Diffstat (limited to 'database/database.go')
0 files changed, 0 insertions, 0 deletions