Can i do the following in a silverlight page/app? (Note: the silverlight app will be embedded on an ASP.NET MVC website page) :-
- Display an image from a resource: eg. http://www.someDomain.com/image.png
- Url of the image to display is passed into the control (ie. it’s not hardcoded, but .. say .. entered into a textbox via the user, on the page).
- Resize the image.
- Add layers to the image. A layer could be .. i donno .. some basic text or another image or icon
- change the font or font-size of a layer font.
- ‘Save’ the modified image to another url, via an HTTP-POST. So if i’ve resized the image or added some text-layers these are all rendered into a single bitmap (png/jpg/whatever) which is then POST’ed to a url as binary. (ie. multipart/form-data)
Note:
I’ve asked this question before but that was for Flash (flv/swf). I’m now interested if this can be done in silverlight.
Updated Question
Also, what software is required to create these silverlight apps? VS2008? Expression blend? I know u can use notepad .. but i’m so new to this I would need some WYSIWYG app, I expect.
The Writable Bitmap API Silverlight 3 sounds pretty much what you’re after. You can use the standard Silverlight controls such as TextBlock and Image to lay the image and layers out and then use the API to take a “screenshot” of that layout to upload to a server.
Hope this helps.