I have seen questions like this come and go, and since I have not approached any homework where I'd have to this I have pretty much ignored the subject, although I am with a little bit of time right now and thought of giving it a 5min thought.
First thing that came to me mind was that given that Isolated Storage is not enough, one could go with an independent server side kind of storage like Gears <http://gears.google.com/>, and if applicable do the image manipulation on the client using JavaScript, then somehow you will pass this manipulated bits to the server for the rest of the work to happen. But again here you might need some math to write and some more hard work that you might want to avoid. Again we always shoot for RAD (as of Rapid Application Development as in copy and paste from Google). So gave Google a little shoot on this matter and found that there are other people thinking similar<http://almaer.com/blog/gears-future-apis-image-manipulation-api>, and with even more time (which is even better), who has come with a future API for Gears to do Image Manipulation<http://code.google.com/p/google-gears/wiki/ImageManipulationAPI>, supporting things like resize, crop, rotate, flip and dinamyc drawing... again this is future and guess is under development. Now base on this an comments of people coming and going around I found that one can also use the HTML5 Canvas element<http://www.whatwg.org/specs/web-apps/current-work/#canvas>, which supports a big subset of this tasks... more info can be found here<http://www.groupsrv.com/computers/about318561.html>and here <http://developer.mozilla.org/en/docs/Canvas_tutorial:Using_images>. Later you will be able to transfer this bits to the server for proper storage. Although seems like now you will end with a mixed managed / js application. I haven't check the SL 2.0 documentation on this subject yet, but I do know of some interesting tests that I've seen internally on image manipulation that might make it to the final bits... let's wait for Mix to see what the Pandora box will bring, in the mean time we can have some fun learning some fun JavaScript. My 2 cents, G. aka. Samiq On Jan 20, 2008 10:11 PM, Jose Fajardo <[EMAIL PROTECTED]> wrote: > Hi Ola, > > > > Glad you enjoyed it. Unfortunately I too am suffering from the lack of > IsolatedStorageSpace and graphic libraries in SilverLight 1.1 alpha > refresh. > > > > I too want to do image manipulation on the client end (using the > system.drawing library to do things such as compression, resizing, > manipulation). > > > > I've searched long and hard for ways to do these things, and alas no luck. > > > > > The only way I could do image manipulations is stream the raw image to the > server and do it there (using the full system.drawing library available on > the server) > > > > I'm crossing my fingers that SilverLight 2.0 will include the > System.Drawing library (or equivalent classes) to do these manipulations. > > > > I do know that the IsolatedStorage size will be addressed in the new > version come March 5th (Mix 08). > > > > If you find any cool hacks in the mean time It would be great if you could > share J > > > > Regards Jose (LiquidBoy) > > > > > > > > Level 10, Hilton > > 255 Pitt Street > > Sydney NSW 2000 > Tel: 61 2 9994 7446 > > Fax: 61 2 9994 6372 > Mob: 0410 374 204 > Website: www.challenger.com.au > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Ola Karlsson > *Sent:* Monday, 21 January 2008 2:18 PM > *To:* [email protected] > *Subject:* [OzSilverlight] Image manipulation in SL > > > > Hi People, > > > > I've been playing around a little with Silverlight 1.1(or is it 2.0? or is > it 1.1 now and will it become 2.0 as of the Beta release??.. aah well > never mind) but I'm still pretty new to the whole thing.. > > > > Anyway, I came up with a project I wanted to try with Silverlight, it > would basically be an image uploader, with the option to do some basic > manipulations *before* uploading the file. > > > > After some searching around a bit, I found the Flickr like "Silverlight > Multi-File Upload Tool", > http://advertboy.wordpress.com/2007/12/20/flickr-multi-picture-uploader-done-in-silverlight/which > is really cool (well done Jose!), that helped me out on how to do the > uploading functionality of my little project. > > > > I however quickly ran into problems with the next step, ie. the image > manipulation. One of the main things I wanted to do, is to scale down large > images(say 3-4mb sized) but with the current 1mb isolated storage limit I > can't really seem to come up with a reasonable solution. Any suggestions?? > (And yes I'm aware that this will be addressed in the Beta that's coming and > the answer might be to wait until then...) > > > > Cheers, > > Ola > > > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > - > ------------------------------------------------------------------------------ > This email and any files transmitted with it are intended for the named > recipient only. The information contained in this message may be > confidential, legally privileged, or commercially sensitive. If you are not > the intended recipient, you must not reproduce or distribute any part of the > email, disclose its contents to any other party, or take any action in > reliance on it. If you have received this email in error, please contact the > sender immediately by return email and delete this message from your > computer. > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > -- _______________________________ Gilbert A. Corrales-Villalobos +506 840 7941 Mobile +506 238 2195 Home [EMAIL PROTECTED] ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
