Wpf |
The WpfBitmapIO type exposes the following members.
Name | Description | |
---|---|---|
ConvertToSupportedFormat | When true (by default) then the loaded images are converted into a format that is supported by the engine (32 bit BGRA or RGBA format) When false then the loader tries to preserve the format of the bitmap (for example 8 bit for grayscale) but this is not guaranteed and the loader may still convert the image to BGRA. Also, it is not guaranteed that the image in the original format will be correctly displayed. | |
FileNotFoundResolver | Gets or sets a Func that takes file name of a file that does not exists and returns an existing file name. If file name is not resolved, then null is returned. | |
FileStreamResolver | Gets or sets a Func that takes file name of a file that does not exists and returns a stream to the file. The returned stream is closed after the bitmap is read. If file name is not resolved, then null is returned. |