xpra icon
Bug tracker and wiki

Ticket #1699: dowebplossless.sh

File dowebplossless.sh, 697 bytes (added by J. Max Mena, 3 years ago)

The same as the other shell script, but lossless and I fixed a typo

Line 
1#!/bin/bash
2export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3# Write down our presets
4declare preset=("default" "photo" "picture" "drawing" "icon" "text")
5
6for p in "default" "photo" "picture" "drawing" "icon" "text"
7do
8 echo "Running ${p} Compression"
9 cwebp -v -lossless -preset ${p} -o output/${p}/video_${p}_lossless.webp "Video.png" >> output/${p}/${p}_video_lossless.log 2>&1
10 cwebp -v -lossless -preset ${p} -o output/${p}/video_large_text_${p}_lossless.webp "Video Large Text.png" >> output/${p}/${p}_video_large_text_lossless.log 2>&1
11 cwebp -v -lossless -preset ${p} -o output/${p}/image_and_text_${p}_losless.webp "Image and Text.png" >> output/${p}/${p}_image_and_text_lossless.log 2>&1
12done