summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nvandoorn.com>2023-03-16 20:38:54 +0000
committerNick Van Doorn <nick@nvandoorn.com>2023-03-16 20:38:54 +0000
commitb8fbf4fbe4a974f2ad57a444b25091c58c637200 (patch)
treed7b7fb5cf98b55ae87686cb40d837092d2fd5d0a
parenta97ad36befe5f665ecd9ea4e6e555d532799b17a (diff)
Use baseline JPEGs instead of BMP images for rockbox
We can just one file if the JPEG is not progressive, aka baseline
-rwxr-xr-xconvert-art2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-art b/convert-art
index c4b1d0d..56c814a 100755
--- a/convert-art
+++ b/convert-art
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
find "$1" -iname "cover.jpg" -o -iname "cover.gif" -o -iname "cover.png" | while read file
- do convert "$file" -thumbnail 130x130 "$2${file%/*}"/cover.bmp
+ do convert "$file" -interlace none "$file"
done