fix: semi-transparent images
This commit is contained in:
parent
5103cbf709
commit
a7deecf072
37 changed files with 7397 additions and 7816 deletions
|
|
@ -3,10 +3,10 @@
|
|||
2. cd to a directory where there is *only* .png files (or subdirectories)
|
||||
3. Execute
|
||||
```sh
|
||||
for PNG in $(find . -type f)
|
||||
for PNG in $(find . -type f -name "*.png")
|
||||
do
|
||||
convert "$PNG" "${PNG%.png}.xpm"
|
||||
convert "$PNG" -alpha export "${PNG%.png}.alpha.xpm"
|
||||
convert "$PNG" -alpha opaque "${PNG%.png}.xpm"
|
||||
convert "$PNG" -alpha extract "${PNG%.png}.alpha.xpm"
|
||||
rm "$PNG"
|
||||
done
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue