What is the max size for MediaHistoryItem's ImageStream in WP7?
I was wondering what the max size for MediaHistoryItem's ImageStream is. It sets the image almost all the time, but sometimes, when it is a slightly larger image, it can not set it. So I was wondering if there is a limit to the ImageStream file size开发者_高级运维?
Well, you need to resize it to 358 x 358 pixels for the now playing tile, and 173x173 for all other tiles.
Larger images aren't supported. I would recommend you resize the image (in code), before you set the ImageStream property.
The byte size is limited to the MediaHistoryItem.MaxImageSize
Read the remarks at MSDN about MediaHistoryItem.ImageStream
精彩评论