how can i convert an image to bit stream

6 views (last 30 days)
hey all is ther any way to convert image to bit stream or to ASCII code ?? please i need ur help thanks in advance
  3 Comments
Walter Roberson
Walter Roberson on 30 Apr 2013
Technically not: ASCII is only from 0 to 127, not 0 to 128. Also note that not all ASCII characters are printable, and that some ASCII characters (such as NUL or IDLE) may be "eaten" by communications systems.
To transform a data array to printable ASCII, using "uuencode" or the like is recommended.
sammar
sammar on 1 May 2013
@matt kinding thank you very much i have got that

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Apr 2013
dec2bin(typecast( YourImageMatrix(:), 'uint8' ), 8)
Now what?
  2 Comments
sammar
sammar on 1 May 2013
thaaaank you very much i got the correct result
Karbala'a Unvi. Science
Karbala'a Unvi. Science on 25 Sep 2014
Hi there is it possible, if I change the image into a stream and then add another stream to that one, OR NOT please need help as fast as you can thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!