Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
francisdb opened this issue Oct 17, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@francisdb
Copy link
Owner

francisdb commented Oct 17, 2024

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

@francisdb francisdb added the enhancement New feature or request label Oct 17, 2024
@francisdb
Copy link
Owner Author

francisdb commented Oct 17, 2024

➜  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant