Answered by:
[WP8.1] Can I set custom thumbnail for StorageFile?

Question
-
Hi!
I want set thumbnail for file that I created (before or after doesn't matter) in my Windows Phone application.
Can I do this or not. If yes - how can I do this?
StorageFile.CreateStreamedFileAsync method doesn't supported for Windows Phone 8.1. It is one way that I knew for set thumbnail for StorageFile.
Thanks.
Regards,Nikita.Tuesday, July 7, 2015 2:13 PM
Answers
-
I'm afraid there is not a method for you to set thumbnail for a StorageFile in Windows Phone 8.1.
However, it is possible for you to get the thumbnail with the StorageFile.GetThumbnailAsync method Magnus mentioned above, or use the GetScaledImageAsThumbnailAsync method.
- Proposed as answer by Amy PengMicrosoft employee Wednesday, July 22, 2015 3:10 AM
- Marked as answer by Mykyta Bondarenko Wednesday, July 22, 2015 5:37 AM
Tuesday, July 7, 2015 11:50 PM -
Hi Nikita Bondarenko,
As @Victory S said, there is not a method for us to set thumbnail for a StorageFile in Windows Phone 8.1.
I will recommend you submit this feature request/suggestion to Microsoft on this UserVoice forum.
Thanks for your understanding.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Edited by Amy PengMicrosoft employee Wednesday, July 22, 2015 3:10 AM
- Marked as answer by Mykyta Bondarenko Wednesday, July 22, 2015 5:37 AM
Wednesday, July 22, 2015 3:10 AM
All replies
-
You could try the StorageFile.GetThumbnailAsync method:
https://msdn.microsoft.com/en-us/library/windows/apps/br227212.aspx
http://stackoverflow.com/questions/29667235/how-to-get-thumbnail-from-a-video-in-windows-store-appThe CreateStreamedFileFromUriAsync method is not supported on Windows Phone 8.1.
Hope that helps.Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.
Tuesday, July 7, 2015 3:07 PM -
I'm afraid there is not a method for you to set thumbnail for a StorageFile in Windows Phone 8.1.
However, it is possible for you to get the thumbnail with the StorageFile.GetThumbnailAsync method Magnus mentioned above, or use the GetScaledImageAsThumbnailAsync method.
- Proposed as answer by Amy PengMicrosoft employee Wednesday, July 22, 2015 3:10 AM
- Marked as answer by Mykyta Bondarenko Wednesday, July 22, 2015 5:37 AM
Tuesday, July 7, 2015 11:50 PM -
Hi, Magnus (MM8).
>>>>>You could try the StorageFile.GetThumbnailAsync method:
But this method for get thumbnail. How I change thumbnail/set new thumbnail or etc.
Thanks.
Regards, Nikita.Wednesday, July 8, 2015 6:51 AM -
Hi Nikita Bondarenko,
As @Victory S said, there is not a method for us to set thumbnail for a StorageFile in Windows Phone 8.1.
I will recommend you submit this feature request/suggestion to Microsoft on this UserVoice forum.
Thanks for your understanding.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Edited by Amy PengMicrosoft employee Wednesday, July 22, 2015 3:10 AM
- Marked as answer by Mykyta Bondarenko Wednesday, July 22, 2015 5:37 AM
Wednesday, July 22, 2015 3:10 AM -
Wednesday, July 22, 2015 5:37 AM