![]() ![]() |
||||
|
|
There are various ways of getting a graphic image into ToolBook and using a Paint Object is just one of them. A Paint Object is a Graphic which contains a Raster image - that is, an image composed of pixel data - commonly thought of as a bitmap image. When you add such an image to your page, the image is stored on the page itself, or the background if that is where you put it. INSERTING A
PAINT OBJECT: ToolBook has built in filters to recognize most available image file types, such a BMP, GIF, JPG, TIF, WMF, etc. Some image formats, such as BMP and DIB will come into ToolBook during this import process as a Paint Object, and others such as GIF, JPG and TIF will import as Picture Objects. Note: If you have a 500k image that is stored in a tightly compressed 20k JPG file, when you import the image into ToolBook, the size of your TBK file will increase by the full 500k. ToolBook does not store imported images internally in their native format, but rather stores them as a fully decompressed bitmap.
PASTING IN
A PAINT OBJECT: To ensure your copied image is pasted into ToolBook as a Paint object, use Paste Special from the Edit menu rather than simply using Paste. This way you can specifically choose to paste a Bitmap version of your clipboard image into ToolBook.
Note: By default, if you simply use Paste instead of Paste Special, ToolBook will default to pasting in a Picture Object rather than a Paint Object (bitmap) if it can find a Picture Object in the clipboard. IDENTIFYING
A PAINT OBJECT:
LIMITATIONS
OF A PAINT OBJECT:
FEATURES OF
A PAINT OBJECT: Using the Properties for Paint Object settings you can turn on the Chromakey feature and then define the transparency color [the fill color] - in my case the color is white. My figure below shows one sheep configured to use this effect and one sheep not configured. If the color you want to be transparent is in fact white, you also have a secondary way of making the White transparent. Simply turn on the Transparency setting and don't bother setting the Chromakey feature. This only works if the color you want made transparent is in fact white.
CONSIDERATIONS
WHEN EXPORTING FOR DHTML:
The basic reason for this is that a JPG does not support a transparency (chromakey) feature, but the GIF format does. Why is this important to know? Because the quality of your images could be affected.
Quirky Exception: Lastly be aware that although you can get your Paint Object to appear transparent by simply enabling the Transparency setting, and not bothering to enable the Chromakey setting, you will find that the export process will not honor that form of Transparency. You will actually end up with a GIF image but unfortunately the Chromakey value will not be configured within the .GIF file and therefore in the Browser it will not appear as transparent. The bottom line here is that if you want to get your transparency working in DHTML for Paint Objects, you MUST use the Chromakey setting, and not the Transparency setting. |
|||