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

Add support for images with various qualities #84

Open
1 task
defagos opened this issue May 16, 2024 · 0 comments
Open
1 task

Add support for images with various qualities #84

defagos opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@defagos
Copy link
Member

defagos commented May 16, 2024

As a developer integrating Pillarbox I might need higher or lower resolutions for artworks retrieved by Pillarbox. Currently a single resolution is supported but on small / large layouts this might be superfluous or insufficient.

Hints

  • We could simply turn current image sources into arrays of sources with various qualities (optional), then have lazy retrieval be made for some desired quality (parameter added to image retrieval, a func instead of a prop). Or maybe have a parameter added to image sources for an image size.
  • We could also provide a format (1:1, 16:9).
  • Internal usage (e.g. Control Center) would request one of the qualities.
  • Maybe an ImageCatalog type would provide for better encapsulation.
  • Qualities should likely be loosely defined (maybe low, medium and high) with recommended resolutions. We should probably also have sensible fallbacks when some image is requested but the corresponding source is missing.

Acceptance criteria

  • ...

Tasks

  • ...
@defagos defagos added the enhancement New feature or request label May 16, 2024
@defagos defagos transferred this issue from SRGSSR/pillarbox-apple Jul 1, 2024
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
Status: 📋 Backlog
Development

No branches or pull requests

1 participant