Feature details
Dynamic image composition by using Elements
ImageDraw Elements are simple graphical objects which are assembled together to create a composite image. All elements are drawn on the Canvas producing the output composite image. In addition, each element can have associated to it zero or more imaging Actions that affect its appearance (more on this later).

IMAGEDRAW ELEMENTS
IMAGES (ImageElement) TEXTS (TextElement), WORDART (WordArtElemenet) & RICH TEXT (RichTextElement) AUTOSHAPES (ShapeElement)
Image Elements can be acquired from several sources such as a URL or path file, Base64 string, byte array, or System.Drawing.Image object. Input Image formats supported: GIF, JPG/JPEG, BMP, TIFF, ICO, WMF, EMF and PNG.

Text & WordArt Elements are created by specifying some basic properties such as Text, Font, ForeColor, StrokeColor, etc. They are useful for drawing custom captions and watermarks. Text & WordArt Elements support Custom Font Files (*.TTF), Outlined Texts, Multiline, AutoSize, etc.

AutoShape Elements are preset shapes like rectangles, ovals, lines, arrows, stars, callouts (a.k.a. speech bubbles), paths and polygons. AutoShapes support imaging effects, text inside them by allowing padding text feature, border roundness and dashed patterns.

 

Imaging Effects (Actions)
ImageDraw Actions are imaging effects that are applied on any ImageDraw Element objects. ImageDraw comes with 51 built-in ready to use Actions.


 

Merging Actions
ImageDraw architecture allows you to apply more than one Action on a given Element (ImageElement, TextElement, WordArtElement, ShapeElement and RichTextElement). The following figures show how some combination of Actions applied on an Element can improve its appearance.
ConvertToSepia + Filmstrip + PerspectiveShadow
Polaroid + DropShadow
 

XML Templates for Dynamic Image Composition
ImageDraw features XML Template i.e. you can instruct an ImageDraw object for exporting/importing the composite image in XML text formatting. By invoking a simple class method you can get a string representation of the Output Composite Image in XML format allowing you to save it in any kind of data source be it SQL Server Database, file on disk, and so on. In the same way, you can restore the Composite Image from a XML Template by just invoking a simple class method as well.




Image Formats Supported
ImageDraw supports the following image formats.

(i) INPUT IMAGE FORMATS (ii) OUTPUT IMAGE FORMATS
GIF (Transparency Support) JPEG / JPG PNG (Transparency Support) BMP WBMP
PNG
GIF
JPEG / JPG
BMP
TIFF
WMF
EMF
ICO
GDI+ Image Object

(i) Input Image Formats
ImageDraw manages input images by wrapping them through ImageElement objects.

(ii) Output Image Formats
ImageDraw features the ImageFormat property which indicates what image format must be rendered.
  • GIF output images support Index Transparency
  • PNG output images support Alpha Channel Transparency

 
 Copyright © 2003 - 2010 Neodynamic S.R.L. All rights reserved.