View Single Post
Old 06-09-2022, 05:36 PM   #2945
0ripkindle
Enthusiast
0ripkindle doesn't litter0ripkindle doesn't litter0ripkindle doesn't litter
 
Posts: 29
Karma: 200
Join Date: Jul 2019
Device: Kindle Paperwhite 1 (2012), Kindle Touch 4, Kindle Paperwhite 5 (2021)
Quote:
Originally Posted by NiLuJe View Post
Yeah, that won't work. IIRC, you specifically need a PNG8 @ 256c (i.e., not paletted).

e.g., something like
Code:
-colorspace Gray -define png:color-type=0 -define png:bit-depth=8 -quality 75
And once you hit a broken image (which does result in "nothing" happening), you'll need to reboot the device (and/or full UI framework) to get it to pick up new images properly (assuming nothing else in the pool is broken).
Thanks, the following worked for me:
Code:
for f in *; do echo "$f" ; convert "$f" -geometry 1235x1646^ -gravity center -colorspace Gray +dither -quality 100 -crop 1235x1646+0+0 PNG8:out/$f.png; done
0ripkindle is offline   Reply With Quote