francisdb/vpxtool

feat: Scaling down all images to make the table lighter for mobile

Opened this issue · 1 comments

Anyone with a solution how to start standalone tables and "good" resolution on pf etc. I was thinking of exporting images resize and import again and get better quality. Playing standalone IOS on Iphone 14 and have to stick to Max Texture Dimention 768 on Johnny to make it not crash.

Probably do a percentage scale for everything over a threshold?

LUT images can't be touched. Those are 256x16 in size. See also #381

➜  images find . -type f | sed -n 's/.*\.//p' | sort -u

exr
hdr
jpg
png
webp

cd "Johnny Mnemonic (Williams 1995) VPW v1.2/images"
for file in *.exr *.webp *.png *.jpg *.hdr; do
  if [[ $(basename "$file") != colorgradelut* ]]; then
    magick "$file" -resize 25% "$file"
  else
    echo "skipping $file"
  fi
done