Class FileTypesService1Extensions
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
public static class FileTypesService1Extensions
- Inheritance
-
FileTypesService1Extensions
- Inherited Members
Methods
- LoadFileAsBitmap(IFileTypesService1, string)
Loads the image from the given file path. If necessary, the image is converted to an appropriate BGRA/RGBA format and color space.
- LoadFileAsBitmap(IFileTypesService1, string, in PixelFormat, IColorContext?)
Loads the image from the given file path, then converts it to the given PixelFormat while optionally using a specific IColorContext for the conversion.
- LoadFileAsBitmapBgra32(IFileTypesService1, string, IColorContext?)
Loads the image from the given file path, then converts it to BGRA32 while optionally using a specific IColorContext for the conversion.
- LoadFileAsBitmap<TPixel>(IFileTypesService1, string, IColorContext?)
Loads the image from the given file path, then converts it to the given PixelFormat while optionally using a specific IColorContext for the conversion.
- LoadFileAsDocument(IFileTypesService1, string)
Loads an IFileTypeDocument from the given file path.
- TryLoadFileAsBitmap(IFileTypesService1, string)
Like LoadFileAsBitmap(IFileTypesService1, string), but returns
nullinstead of throwing an exception when an error is encountered.
- TryLoadFileAsBitmap(IFileTypesService1, string, in PixelFormat, IColorContext?)
Like LoadFileAsBitmap(IFileTypesService1, string, in PixelFormat, IColorContext?), but returns
nullinstead of throwing an exception when an error is encountered.
- TryLoadFileAsBitmapBgra32(IFileTypesService1, string, IColorContext?)
Like LoadFileAsBitmapBgra32(IFileTypesService1, string, IColorContext?), but returns
nullinstead of throwing an exception when an error is encountered.
- TryLoadFileAsBitmap<TPixel>(IFileTypesService1, string, IColorContext?)
Like LoadFileAsBitmap<TPixel>(IFileTypesService1, string, IColorContext?), but returns
nullinstead of throwing an exception when an error is encountered.
- TryLoadFileAsDocument(IFileTypesService1, string)
Like LoadFileAsDocument(IFileTypesService1, string), but returns
nullinstead of throwing an exception when an error is encountered.