API Reference
Class
EpsWriter
Minimal EPS writer for embedding RGB images.
Inheritance
- Object
- EpsWriter
Methods
WriteRgb24 2 overloads
public static Byte[] WriteRgb24(Int32 width, Int32 height, Byte[] rgb) #Returns:
Byte[]Writes a single-page EPS containing the supplied RGB image.
Parameters
- width System.Int32
- height System.Int32
- rgb System.Byte[]
public static Void WriteRgb24(Stream stream, Int32 width, Int32 height, Byte[] rgb) #Returns:
VoidWrites a single-page EPS containing the supplied RGB image.
Parameters
- stream System.IO.Stream
- width System.Int32
- height System.Int32
- rgb System.Byte[]
WriteRgba32 2 overloads
public static Byte[] WriteRgba32(Int32 width, Int32 height, ReadOnlySpan<Byte> rgba, Int32 stride, Nullable<Rgba32> background = null) #Returns:
Byte[]Writes a single-page EPS containing the supplied RGBA image.
Parameters
- width System.Int32
- height System.Int32
- rgba System.ReadOnlySpan{System.Byte}
- stride System.Int32
- background System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null
public static Void WriteRgba32(Stream stream, Int32 width, Int32 height, ReadOnlySpan<Byte> rgba, Int32 stride, Nullable<Rgba32> background = null) #Returns:
VoidWrites a single-page EPS containing the supplied RGBA image.
Parameters
- stream System.IO.Stream
- width System.Int32
- height System.Int32
- rgba System.ReadOnlySpan{System.Byte}
- stride System.Int32
- background System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null