![]() ![]() |
||||
|
|
There are various ways of getting a graphic image into ToolBook and using a Picture Object is just one of them. A Picture Object is essentially a Windows Metafile image. Okay, what the heck is a Windows Metafile image? A Windows Metafile image is a image format which typically contains a Vector graphic - but could also contain a Raster image [a bitmap] - or both. It is quite a versatile format indeed. What the heck is a Vector graphic? Well, typically everyone thinks of a graphic as a bitmap...an image composed of lots of pixels. However a Vector image is instead an image composed of Drawing Commands. For example there are many 3rd party image editing software packages such as Freehand, or Illustrator, or even Paint Shop Pro, which permit you to draw circles, arcs, curves, rectangles, polygon shapes, etc...all which are not simply pixels to manipulate but are instead objects that you can pick up, move, resize and modify the fill color and stroke color of. The figure below shows a vector image in Paint Shop Pro. You can see that the image is controlled by a dialog which lets you set the visual properties.
You may be saying about now...."hey, that's kind of like the draw objects in ToolBook - you know the Lines, Ellipses, Rectangle objects which can be drawn, but then resized, moved, colored, etc" And you would be correct. The Draw Objects in ToolBook are very much a Vector Image type of object. The real difference is that for Picture Objects, we are talking about a file you are importing which originated from some other program. INSERTING A
PICTURE 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 WMF, 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 PICTURE OBJECT: To ensure your copied image is pasted into ToolBook as a Picture Object, use Paste Special from the Edit menu rather than simply using Paste. This way you can specifically choose to paste a Picture 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 PICTURE OBJECT:
LIMITATIONS
OF A PICTURE OBJECT: So, if it imports with Transparency on, there is no way to turn it off from inside of ToolBook. And if it imports with Transparency off, there is no way to turn in on from inside of Toolbook. FEATURES OF
A PICTURE OBJECT:
If you need to resize your images, it is ALWAYS a better idea to edit your image in a professional image editing software package. Those specialized applications know how to manipulate your images in such a was as to provide the best overall results. ToolBook does a horrible job trying to stretch or shrink images...but then again it was never designed to be a professional image editing program. Notice the improved quality of the 3 images below when I use a professional image editing package (Paint Shop Pro) to resize the images rather than letting ToolBook resize them.
CONVERTING
YOUR PICTURE OBJECT INTO A PAINT OBJECT: Why would you want to do this? The best reason I can think of is so that you can set a Transparency value. Remember in the case of this bird I used for these examples, it was not created with the white color being transparent, and Picture Objects have no control over transparency - but if you could convert this to a Paint Object you could set the white region to be transparent. A secondary reason to convert a Picture Object to a Paint Object is that Paint Objects draws faster in Native ToolBook. It takes longer for the graphic rendering engine inside of ToolBook to draw a Vector image than it does to simply draw a bitmap (Raster image) onto your screen. This is not an issue or concern for DHTML export however.
CONSIDERATIONS
WHEN EXPORTING FOR DHTML:
|
|||