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

How to extend acceptable image sizes to all sizes #18

Open
dan-huang opened this issue Oct 11, 2014 · 2 comments
Open

How to extend acceptable image sizes to all sizes #18

dan-huang opened this issue Oct 11, 2014 · 2 comments

Comments

@dan-huang
Copy link

Acceptable image sizes seems unreasonable, because every kind of image size can do pan, pinch.

@mayakraft
Copy link
Owner

This thread should be the place for all discussion about non-power of 2 image sizes

  1. Equirectangular images by definition are 2:1 ratio, we still enforce this correct?

  2. should this library adopt a resize function for non POT images? And what are best practices?

  • scale up image dimensions to nearest POT to prevent lossy
  • bilinear filtering?
  • how to handle non 2:1 ratio? crop? stretch? fail?
  • if images are 1 pixel off, should resort to cropping? 1025x512 crop to 1024x512

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

No branches or pull requests

3 participants