save image from flash binary data

I need help. 
How can I get binary data from flash and save image?
I don't know byte variable binding streaming data.

byte[] flashdata = getByte(); <<< ??
string filename = Guid.NewGuid().ToString();
FileStream s = new FileStream("C:\\" + filename + ".jpg", FileMode.CreateNew);
BinaryWriter b = new BinaryWriter(s);

Can you help me?


4/23/2009 10:03:43 PM 1803 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 30
Get it on Google Play
Get it on Apple App Store


From your description, it seems that you want to get binary data from loca flash file, right?

If so, I suggest that you may try following links.


Michael Jin.
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
4/27/2009 3:55:07 AM

This is not related flash. The important point is to use data with c# file from flash.

Flash file sends the data to c# file. But c# file can't get data..

I want get binary data from flash and save jpg file..



5/4/2009 11:23:30 AM

Similar Artilces:

Saving image (binary data) from the clipboard
I want to save image data from the clipboard. I have the data already in a transferable but don't know how to access and save the data. Here is a code snippet: var str={}; var strLength={}; trans.getTransferData("image/png",str,strLength); if (str && str.value) { str=str.value.QueryInterface(Components.interfaces.nsISupportsString); if (str) return,strLength.value / 2); This works for strings (using another mime type of course), but not for images. I havn't found a way to save the binary data. Which interface do I have ...

How to save image to database as a binary data?
Hi,I am new for this. I want to save a image to database as binary data?Which type of field can used to save binary data in database? and how to do this with c# in .net.Please give me a idea. Thanks Mark       see below Jeev~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~If you get the answer to your question, please mark it as the answer. marks416 :I want to save a image to database as binary data?Which type of field can used to save binary data in database? and how to do this wit...

How to load image in my image control , The image is stored as a binary data in sqlsqrver.
 Hi all, I just have one doubt today.I have stored image in my database using inputstream.Read(...) method and I am able to load the image in my web page  by using the outputstream.Write(..). But I am Unable to load image in my image server control.How can I load the image in my image server control  The image is stored in database using the inputstream.Read(....) method. thanks in advance. Ajay Kumar Verma What you should do is to retrieve the image from the database and save it on a local folder in your web application main folder then set the ImageUrl ...

Read binary image data to image control
Hi, How can i read binary data from image field(sql server) and display into a image control Thanks in advance shijuShiju Varghese MCAD, MCPDTechnical ArchitectBlog: :

Hotkey Save Image or Save Image As..
Name: soulmisfit Email: dmokimarinoatgmaildotcom Product: Firefox Summary: Hotkey Save Image or Save Image As.. Comments: Is there a way to assign Hotkeys for Firefox Save Image and Save Image As..? If not that would be a great addition. I searched the trouble shooting data base and didn't find anything related. Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20090824 Firefox/3.5.3 From URL: Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one... problem: i can not view image data for the rest of my table rows except the image for the first row but i can read all the other non image fields for all rows.
Hi i have a table with the following fields imgdata........image imgtitle.........varchar(max) imgType........varchar(max) imgLength.....bigint i have no problem with uploading the image but viewing the uploaded image(s) in a gridview has caused me great pain. The probelm is i have two pages. page1 grabs the image to display and page2 has a gridview that displays the grabed image. I wanted to have an sql statement like SELECT * FROM mytable WHERE incident_id=someValue. IF i have 5 records in this table and i view page2 ...

Set default value of sql image data type to binary data
Does anyone know how to set the default value of an sql image data type in the database to a binary value?  I need to figure out how to convert the image I want to use into the binary data to copy and paste it into the default value and how I format it as the default value.  Any help or other suggestion would be greatly appreciated.  Thanks in advance..Cre8ive Productions, Sales & Service, Inc.Web Site Development - eCommerce SolutionDomain Hosting - Servers - Internet Marketing Hi GuyCre8ive, Usually when I store image into database, I add a field to store the default ...

Save Data before flash
Is there a way to save user data before a system flash, for example I updated my Keon yesterday and it wiped all available data, contacts, messages, etc.. Is there a way to make a (database?) backup and then restore it when you've flashed to the new version? Cheers, Jack. -- Jack Mitchell ( Embedded Systems Engineer -- ...

Detect if image has been saved using Image.Save()?
 I wrote a upload program that as soon as user uploads a picture, the next page will show what picture the user has uploaded. However, right now it looks like that the next page will not show any pictures because the file is still being uploaded. In another words, the page has change even before it finishes uploading. Is there a way to detect if Image.Save() has completed or not? thanks in advance. Are u uploading the file asynchronously? paste your code here.  Haissam Abdul MalakMCAD.NET| Blog | using  System.IO.File.Exists(filepath) to detect whether the image ha...

superreview granted: [Bug 198806] Image data memory leak resulting when images are saved (from browser tab) : [Attachment 134429] v1 patch
Boris Zbarsky (real world intrudes) <> has granted Darin Fisher <>'s request for superreview: Bug 198806: Image data memory leak resulting when images are saved (from browser tab) Attachment 134429: v1 patch ------- Additional Comments from Boris Zbarsky (real world intrudes) <> Oops. Mea culpa. sr=bzbarsky. ...

superreview requested: [Bug 198806] Image data memory leak resulting when images are saved (from browser tab) : [Attachment 134429] v1 patch
Darin Fisher <> has asked Boris Zbarsky (real world intrudes) <> for superreview: Bug 198806: Image data memory leak resulting when images are saved (from browser tab) Attachment 134429: v1 patch ...

How to convert Binary data to image
Hi Friends, Can anyone give solution for coverting binary data to image.  EX: 0xAB00000001000000540C0000FAA44FBAD818E340680043003A005C0044006F00630075006D0065006E0074007300200061006E0064002000530065007400740069006E00670073005C004C006100720072007900200057006F006C0073006B0069005C004D007900200044006F00630075006D0065006E00740073005C004D This is the Binary format and we have to convert this to image. well .... you want to convert this binary data to an Image file or just want to show this binary data as image in the browserIf u just want to show this binary data in the browser then use....

Saving binary Data from URL ?
Hi, I have ceated a webservice which creates a pdf and sends it back to the browser. The WebService is on a different server and i need to save this pdf on my webserver where i have the aspx files. How can i do this in c#? I found the WebRequest method but I think with that I can only get ascii text back and not a binary stream.. Thanks Daniel i have use response.binarywrite in the past, but my understanding of a webservice is that it communicates as text. the framework seem to be able to take binary data and serialize it (to text). perhaps you need to find a way to serializ...

Saving binary data from nsIXmlHttpRequest
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, in an extension implemented in javascript, i would like to use the nsIXmlHttpRequest object to query data from an url. based on the returned content-type, i would like to either parse the returned file and do some stuff, or save the binary data into a file. i cannot find a way to save the binary data. the;1 component seems not to implement writeFrom method and i'm running out of ideas. does anybody have some trick for doing so ? thanks, /mig -----BEGIN PGP SIGNATURE----- ...

Web resources about - save image from flash binary data -

Binary Domain - Wikipedia, the free encyclopedia
This article may require copy editing for grammar, style, cohesion, tone, or spelling . You can assist by editing it . With millions dead, robots ...

Disneyland Store Just Smashed The Gender Binary With One Display
What's wrong with a boy wearing Minnie Mouse clothing? Nothing.

Binary stars can throw planetary orbits into chaos
... many orbits to complete. The part that isn’t generally covered in introductory astronomy courses is what happens to precession in binary star ...

Binary black holes found verging on merging
Twin black holes, so close that they are gravitationally bound and orbiting around one another in the final stages before they merge to form ...

Explore the innards of any file with Binary Viewer
... extension. Perhaps it’s an unexpected email attachment. Could it be malware? You’d like to see what it contains. Sounds like a case for Binary ...

Two for the price of one: The unique binary system of Pluto and Charon
... a mission to Pluto, but one of the reasons the dwarf planet is so fascinating to scientists is that it&amp;rsquo;s part of the only known binary ...

Writer Tom Jubert (FTL, Binary Domain) to write the story for Subnautica
... , that decision may have finally been made. You may not have heard of him, but he’s helped shape some of the best stories in games: Binary ...

Why Tatooine is plausible: the orbital mechanics of binary star systems
While we're all waiting for The Force Awakens to hit theaters, the time is again ripe for speculating on the plausibility of the Star Wars universe. ...

Rights and wrongs of binary thinking
Fight or flight may have served early humans but is ill suited for today, writes Conrad Wolfram

Ditch the Binary Model: Sexual Orientation Is More Like Height, with Many Variations
Research on the biological origins of human sexual orientation remains controversial (and poorly funded), and more than two decades of slow work ...

Resources last updated: 1/12/2016 9:27:47 PM