|
-
writing a SWF out as a bitmap on server
I can figure out how to make a SWF into a bitmap using Bitmap & BitmapData classes but how do I transfer that bitmap representation or bitmap data into a file (jpg, bmp, png, etc.) on the server and what scripting language can handle that best? I've used PHP and think I can do it with that but I think for this project I need to use ASP.NET which I have no experience with. Is there an easy way to do this using ASP.NET and the .NET framework? thanks!
-
You can use JPGEncoder or PNGEncoder in the as3corelib to turn your bitmap into a jpg or png. From there, you could attempt to put that data into a multipart form submission using Loader, or you can send it through a socket connection, or (my preferred way), encode it with Base64 and send it as a normal String to be decoded on the server side.
I don't know the specifics of asp.net, but if it doesn't have a base64 decoder available, I'd be surprised.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|