Interface IBitmapFrameEncode
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
Represents an encoder's individual image frames.
IWICBitmapFrameEncode
public interface IBitmapFrameEncode : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inherited Members
- Extension Methods
Properties
- Metadata
Gets the metadata query writer for the encoder frame.
Methods
- Commit()
Commits the frame to the image.
- Initialize(IPropertyBag2)
Initializes the frame encoder using the given properties.
- SetColorContexts(ReadOnlySpan<IColorContext>)
Sets a given number IColorContext profiles to the frame.
- SetPalette(IPalette)
Sets the IPalette for indexed pixel formats.
- SetPixelFormat(in PixelFormat, out PixelFormat)
Requests that the encoder use the specified pixel format.
- SetResolution(Vector2Double)
Sets the physical resolution of the output image.
- SetSize(SizeInt32)
Sets the output image dimensions for the frame.
- SetThumbnail(IBitmapSource)
Sets the frame thumbnail if supported by the codec.
- WritePixels(int, void*, int, uint)
Copies scan-line data from a caller-supplied buffer.
- WriteSource(IBitmapSource, in RectInt32?)
Encodes a bitmap source.