Class FileTypesServiceExtensions
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
public static class FileTypesServiceExtensions
- Inheritance
-
FileTypesServiceExtensions
- Inherited Members
Methods
- GetJpegFileType(IFileTypesService)
Gets a IFileTypeInfo for the built-in JPEG FileType.
- GetPngFileType(IFileTypesService)
Gets a IFileTypeInfo for the built-in PNG FileType.
- LoadFileAsBitmapBgra32(IFileTypesService, string)
Loads a Document and returns an IBitmap with its flattened content.
- LoadFileAsSurface(IFileTypesService, string)
Loads a Document and returns a Surface with its flattened content.
- TryLoadFileAsBitmapBgra32(IFileTypesService, string)
A wrapper around LoadFileAsBitmapBgra32(IFileTypesService, string) that returns null if an exception is thrown.
- TryLoadFileAsSurface(IFileTypesService, string)
A wrapper around LoadFileAsSurface(IFileTypesService, string) that returns null if an exception is thrown.