ResBitMapEncoder

ResBitMapEncoder


This encodes a multiple StdPicture bitmaps into individual arrays of bytes.


Remarks

In order to save a bitmap into a .RES file, it must be converted to an array of bytes so it can be written to the file.

Each time a bitmap is encoded, the array of bytes is stored internally for future retrieval. Multiple bitmaps can be encoded, each encoded bitmap will be stored with a ResourceKey for future retrieval.

See Also

Project VBCorLib Overview | ResourceWriter

Implements:

IResourceEncoder 

Public:

Methods:

NameDescription
 EncodeEncodes a bitmap into a ResourceKey and encoded byte array. 
 GetEncodedResourceRetrieves the next encoded resource in the encoder. 
 ResetReleases all currently encoded values.