uzatt.sh
Ciugiu
sh
2 years ago
349 B
11
Indexable
#!/bin/bash
# Check if a filename was provided
if [ $# -ne 1 ]; then
echo "Usage: $0 <filename.png>"
exit 1
fi
# Check if the file exists
if [ ! -f $1 ]; then
echo "File $1 not found!"
exit 1
fi
# Convert the PNG image back to a ZIP file
convert $1 -format "%c" info: | cut -d' ' -f2- | base64 --decode > output.zipEditor is loading...
Leave a Comment