Image2html

Have you ever thought of converting an image to HTML format ? This example shows you how to do it
The code provided also gives a basic understanding of IMAGE MANIPULATION. Graphics in DELPHI is so damn easy ..... and this proggy just shows that!

The basic idea is to load any image into a Timage and then check the type of image (jpeg, bmp, etc) and then convert the image to a Tbitmap for getting out the data. The data is then dumped into a file with some HTML tags so that it gives out color... and voila... you have converted your image to HTML
format....
Lot of improvisation is possible which i would be submitting in future versions (if i ever ;))

AttachmentSize
image2html.zip248.29 KB