asplogo.gif (5598 bytes) FAQ


Active Server Paint Frequently Asked Questions (FAQ)

  1. What is Active Server Paint?
  2. What graphics functions are supported?
  3. What text capabilities are supported?
  4. Can AS Paint write into a database?
  5. Does AS Paint support flood fills or palette changes?
  6. Can I write one image on top of another image?
  7. Is it possible to create an image from scratch?

What is Active Server Paint?

Active Server Paint (AS Paint) is an ActiveX DLL that can be used to create bitmap images through programming code. Images can be saved in GIF, JPEG, and (soon) PNG format.

What graphics functions are supported?

Active Server Paint can be used to draw lines, circles, or rectangles of any color on the selected image.

What text capabilities are supported?

Text may be drawn onto the current image with any font, style, or size that is supported by the server machine. Because the traditional Windows routines are used to draw the text, programs that support anit-aliasing such as Adobe Type Manager will work effectively with AS Paint. At this time, no text rotation is supported.

Can AS Paint write into a database?

The current version can't write into a database. Because of the additional power provided by this functionality, the next version will most likely contain this feature and will write into Microsoft Access databases or ODBC data sources.

Does AS Paint support flood fills or palette changes?

Yes, the current version of Active Server Paint provides flood fill capabilities. Although palette changes are not supported directly by AS Paint, the control automatically uses any palette supplied by the foundation image. Therefore, a foundation image can be created to hold the desired palette which can then be used by AS Paint.

Can I write one image on top of another image?

Yes. Version 1.3 and above allow a secondary image to be loaded into the image buffer. Once the secondary image is loaded, it may be drawn onto the foundation image using clipping coordinates and scaling.

Is it possible to create an image from scratch?

No. We're working on resizing capabilities for an existing foundation image. The difficulty for the programmer of creating the palette from scratch makes resizing a much more attractive option.

Return to Active Server Paint home page