fergaral
fergaral

Reputation: 2097

Windows Phone 8.1 - Draw text over photo, but without showing the photo

I'm porting an Android application I've made to Windows Phone 8.1. I want my app to do the following: pick up a photo from the gallery, put some text on it, and then save the image back to the gallery. On Android I have been able to accomplish it, but on Windows Phone 8.1 the only solution I have found is to use RenderTargetBitmap, but this solution requires to display the image on screen, but I don't want to display it.

Any ideas?

Thank you a lot

Upvotes: 0

Views: 227

Answers (1)

pumpkinszwan
pumpkinszwan

Reputation: 1352

So the question can be marked as answered:

Your image doesn't necessarily need to be on the screen - you can render it behind other items (or even off the screen, but within the visual tree). I have done something similar to create custom live tiles. However, I haven't tried this method on WP8.1 yet. I did a blog post a while back for Windows 8.1 live tiles, but the technique should work for phone too (apologies for the VB.net) : grogansoft.com/blog/?p=40

Upvotes: 1

Related Questions