Click or drag to resize

BitmapImage Methods

The BitmapImage type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate(Int32, Int32)
Create top down 24bpp blue/green/red image of 96 dpi. The start of each row is 32-bit aligned.
Public methodStatic memberCreate(Int32, Int32, Boolean, Int32)
Create 24bpp blue/green/red image. The start of each row is 32-bit aligned.
Public methodStatic memberCreateAsBinary(Int32, Int32, Int32, Boolean)
Creates a binary image based on input data. Values greater than 0 are set to white, otherwise they are set to black.
Public methodStatic memberCreateAsBinary(Int32, Int32, Int32, Boolean, Int32, Int32, Boolean, Boolean)
Creates a binary image based on input data, which has a threshold bracket applied. If doInverse is false, values within the bracked are set to white. Values outside the bracket are set to black.
Public methodStatic memberCreateFrom24bpp
Create image based on 24 bpp blue/green/red raw data. The start of each row must be 32-bit aligned.
Public methodStatic memberCreateFrom8bpp
Create image based on 8 bpp grey scale raw data.
Public methodStatic memberDrawText
Draws text as a bitmap image. Use tags <b></b>, <i></i> and <u></u> for bold, italic and underline.
Public methodStatic memberLoad(Stream)
Load image stored in one of many formats, from stream.
Public methodStatic memberLoad(String)
Load image stored in one of many file formats.
Public methodStatic memberRenderImageHog(Single, Int32, Int32)
Renders the Hog vector. Each successive group of 36 elements (4 x (9 x 1) histogram) represents gradients (at angles 0, 20, 40, 60, 80, 100, 120, 140, and 160 degrees) in a 16x16 pixel window. This window slides over 8-pixel intervals, starting at top left of image. Rendered image dimensions are (strideX / 36 + 1) * 8, (height + 1) * 8.
Public methodStatic memberRenderImageHog(ValueTupleSingle, Single, Int32, Int32)
Renders the dominant HOG gradients; a 1 dimension array of (angle, gradient), where each element maps to an 8x8 block of an image, whose origin is the top left. Rendered image dimensions are (strideX + 1) * 8, (height + 1) * 8.
Top
See Also