Last active
March 31, 2023 14:57
-
-
Save uzulla/8e2574194d2d5d7c99df72e5e8a52e1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# `convert` command is part of ImageMagick, apt install imagemagick, brew install imagemagick or .... | |
convert -threshold 30000 src.png tmp.jpg | |
# ^~~~ bad output? ok, try change here as you like!!! | |
# Wow, you need negative ? ok. | |
# convert -negate tmp.jpg tmp2.jpg | |
# mv tmp2.jpg tmp.jpg | |
convert -fuzz 50% -fill '#1278f8' -opaque '#ffffff' tmp.jpg cakephpized.jpg | |
# oh? you love soudai? ok ^~~ set here #0094e0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment