|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overview |
FAQ
|
Download | Use It Online! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Frequently Asked Questions about Image2HTML Q1: Is Image2HTML commercial? Good heavens, no. It's difficult enough for us to justify its existence as a free product, without trying to convince people they should pay for it. It's so free, you can have the source code if you want. If you're looking for a cool web-related commercial product, though, we love to promote Sawmill, since we wrote it, too. Q2: What kinds of images and URLs does Image2HTML support? Image2HTML builds on the impressive power of the Java class libraries. We support whatever Java supports. In URLs, this is at least http://, ftp://, and file:// URLs (probably others), and in images this is at least GIF and JPEG (including interlaced GIFs, transparent GIFs, and progressive JPEGs). Image2HTML treats transparent pixels in GIFs as gray pixels, and doesn't support animated GIFs. Q3: How does the compression work? Without compression, Image2HTML creates a separate table cell for each pixel in the image. This is wasteful, and compression attempts to reduce the size of the table code by combining blocks of pixels of the same color into a single table cell. Essentially Image2HTML scans through the image, left to right and top to bottom, and for each pixel, it finds the largest rectangle, by area, with that pixel as its upper left which is all of the same color, and made entirely of unused pixels. It adds that rectangle to the table, marks all the pixels in it as used, and continues similarly until it gets to the lower right corner. Compression can make a huge difference in the size of simple images. The divider on the overview page requires a whopping 840k of HTML to represent it in its original form (same, but 720 pixels wide instead of 400). Compression, and use of the "no top grid" option bring this down to well under 2k, transforming it from "utterly unreasonable" down into the range where you might consider using it on your page. This is one example of an image which might really be better in Image2HTML format; the original GIF was about half the size (a little under 1k), but required a separate network access to load.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||