Save to HTML

Experts; how can i save bmp and text to html and repeat the process without overwriting
animazooAsked:
Who is Participating?
 
Ryan ChongCommented:
Hi animazoo, HTML just a markup languange that use tags to link images and show texts.

_____________________________

<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF">
<p>Hello World!</p>
<p><img src="images/xxx.bmp">
</p>
</body>
</html>

..
0
 
animazooAuthor Commented:
ryancys
you see i am  currently saving bmp jpg and text to word.doc
but the size is averaging 900kb for an A4 size doc filled with 2 images and some text.(regardless of images being jpg or bmp)
The reason i wanted to know about saving to html was to see if the size was reduced.

0
 
Ryan ChongCommented:
Hi, HTML is used to display the content, it can do nothing about the images that displayed. HTML CANNOT reduce the size of images.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
BrianGEFF719Commented:
What you can do is insert the byte's from the bmp to the html and then just write the text. Once you are done writeing and say you want to write again to the html the next day this is called appending you can open the file for append like this and add more junk...

open "file.html" for append as #1
write #1, "BLAH"
close #1

that would write "BLAH" at the end of the file without eraseing any previous data...GOOD LUCK
0
 
animazooAuthor Commented:
BrianGEF719
ryancys
both your comments have solved my problem
but how can i award you both the points?
0
 
BrianGEFF719Commented:
I'm not looking for points, give them to whoever helped you the most though.
0
 
DanRollinsCommented:
Moderator, my recommended disposition is:

    Accept ryancys's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
Computer101Commented:
Comment from expert accepted as answer

Computer101
E-E Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.