03-28-2014 10:45 AM
I've seen lot of tutorials on how to save "text" in a "text" file (eg: myFile.txt)
What i want to know is how to save an "image" in a "text" file (eg: save myImage.png in myFile.doc)
Is it possible?
Thanks in advance for your replies.
03-28-2014 01:59 PM
There is nothin special about a text file it can be thought of as just a stream of bytes and therefore easily read by code and apps.
A doc file is usually associtaed with Microsoft word and has special encodings in order to layout the text and pictures so no there are no APIs for creating Word documents, there are a few opensource libraries though that you be able to use.
03-28-2014 02:43 PM
03-28-2014 02:51 PM
03-28-2014 03:00 PM
Creating an email message with text and images is easy to do
03-28-2014 03:01 PM - edited 03-28-2014 03:03 PM
BBM not so much,
03-28-2014 06:41 PM