The following tables list the members exposed by KalikoImage.
Public Properties
| Name | Description |
---|
| BackgroundColor | Color used for background. |
| ByteArray | Byte array matching PixelFormat.Format32bppArgb (bgrA in real life). |
| Color | Color used for graphical operations such as writing text on image. |
| Height | Image height. |
| HorizontalResolution | Horizontal resolution of image (DPI) |
| ImageRatio | Width/height ratio of image. |
| IndexedPalette | Check if the current image has an indexed palette. |
| IntArray | Int array matching PixelFormat.Format32bppArgb (bgrA in real life) |
| IsLandscape | Returns true if image has landscape ratio (wider than high). |
| IsPortrait | Returns true if image has portrait ratio (higher than wide). |
| IsSquare | Returns true if image has a 1:1 ratio (same width and height). |
| Size | Size of the image |
| TextRenderingHint | Rendering mode for text operations. |
| VerticalResolution | Vertical resolution of image (DPI) |
| Width | Image width. |
Top
Public Methods
| Name | Description |
---|
| ApplyFilter | Apply a filter to the current Image. |
| BlitFill | Overloaded. Loads the defined image and use it as a pattern to fill the image (will be tiled if the destination image is larger than the source image). |
| BlitImage | Overloaded. Will load an image and place it on the destination image at top left corner. |
| Clear | Clear the image and set background image to the specified color. |
| Clone | Create a new image as a clone. |
| Crop | Crop the image into the given dimensions. |
| Destroy | |
| Dispose | Overloaded. |
| DrawText | Write text to image |
| GradientFill | Overloaded. Makes a gradient fill top to bottom from one color to another. |
| LoadImage | Overloaded. Load an image from local disk |
| LoadImageFromUrl | Load an image from an URL |
| Resize | Resizes the image without any consideration of the current ratio. If you wish to make a ratio locked resize use Scale Method instead. |
| RotateFlip | Rotates, flips, or rotates and flips the image |
| SaveBmp | Overloaded. Save image to file in BMP-format |
| SaveGif | Overloaded. |
| SaveImage | Overloaded. Generic method that will save the image in the specified ImageFormat. |
| SaveJpg | Overloaded. Save image to stream in JPG-format |
| SavePng | Overloaded. Save image to stream in PNG-format |
| Scale | Scale the image using a defined scaling engine which can be CropScaling Class will crop the image so that the final result always has the given dimension, FitScaling Class will ensure that the complete image is visible inside the given dimension or PadScaling Class that will pad the image so that it cover the given dimension. |
| SetFont | Set the font that will be used for text operations. |
| StreamGif | Save image to the response stream in GIF-format. Ideal for sending realtime generated images to the web client requesting it. |
| StreamJpg | Save image to the response stream in JPG-format. Ideal for sending realtime generated images to the web client requesting it. |
| StreamPng | Save image to the response stream in PNG-format. Ideal for sending realtime generated images to the web client requesting it. |
| WriteText | Overloaded. Write text to image using the font assigned using SetFont Method. |
Top
Protected Methods
| Name | Description |
---|
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
Top
See Also