Fix 2ff - farbfeld - suckless image format with conversion tools | |
git clone git://git.suckless.org/farbfeld | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 14df2f24dfedf9d12dcec02d57c596a34be0f197 | |
parent 489b6402af4972b19a9295ccb74482b8daec83ec | |
Author: FRIGN <[email protected]> | |
Date: Fri, 4 Mar 2016 12:22:07 +0100 | |
Fix 2ff | |
No idea how "xconvert" sneaked into there. | |
Diffstat: | |
M 2ff | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/2ff b/2ff | |
@@ -12,7 +12,7 @@ FORMAT=$(file -ib $TMP | cut -d ";" -f 1); | |
case "$FORMAT" in | |
image/png) png2ff < $TMP; ret=$? ;; | |
image/jpeg) jpg2ff < $TMP; ret=$? ;; | |
- *) xconvert $TMP png:- 2>/dev/null | png2ff 2>/dev/null; ret=$? ;; | |
+ *) convert $TMP png:- 2>/dev/null | png2ff 2>/dev/null; ret=$? ;; | |
esac | |
rm $TMP; |