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 StorageFile.GetThumbnailAsync #5637

Open
4 of 12 tasks
jamesmcroft opened this issue Mar 31, 2021 · 1 comment
Open
4 of 12 tasks

Add support for StorageFile.GetThumbnailAsync #5637

jamesmcroft opened this issue Mar 31, 2021 · 1 comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/enhancement New feature or request project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui)

Comments

@jamesmcroft
Copy link

What would you like to be added:

Bring support for the StorageFile.GetThumbnailAsync method across supported platforms.

Why is this needed:

This would allow developers to render the generated thumbnail image in their applications.

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

Would be nice to get as many platforms as possible but understand that this might not be achievable.

I've not completely explored this before, but I know that Android has limited MediaStore APIs for thumbnails for images and videos (unsure if it extends to any file format).

@jamesmcroft jamesmcroft added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification labels Mar 31, 2021
@jeromelaban jeromelaban added difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui) and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. triage/untriaged Indicates an issue requires triaging or verification labels Apr 1, 2021
@MartinZikmund MartinZikmund changed the title Add support for StorageFile GetThumbnailAsync Add support for StorageFile.GetThumbnailAsync Jun 2, 2023
@jeromelaban
Copy link
Member

Note for contributors

Implementing this would require a dependency on SkiaSharp (or any other image decoding library), most likely through an API extension integration, so that SkiaSharp may not come weighing down on apps that don't use that feature, or to make sure that SkiaSharp is properly supporting native library trimming/exclusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/enhancement New feature or request project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui)
Projects
None yet
Development

No branches or pull requests

2 participants