EpsReader Class

Contains methods and properties used to read EPS images.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public sealed class EpsReader : ImageReader

Remarks

EPS (EEncapsulated PostScript) is a PostScript document used as a graphics file format. An EPS file may contain both raster and vector data descripted by the PostScript language.

Examples

C#
using (var epsWriter = new EpsWriter(@"Images\Output\out.eps", 210, 160))
using (var graphics = epsWriter.GetGraphics())
{
    //Draw the RGB bitmap with an sRGB color profile.
    using (var bitmap = new Bitmap(@"Images\RgbImage.jpg"))
    {
        //Assign a standard sRGB profile.
        bitmap.ColorProfile = ColorProfile.FromSrgb();
        graphics.DrawImage(bitmap, 10, 10);
    }
    //Draw the CMYK rectangle.
    graphics.DrawRectangle(new Pen(new CmykColor(43, 65, 92, 44), 4), 9, 9, 190, 141);
}

Inheritance Hierarchy

System.Object

See Also

Reference

Manual