Sign .Jpeg files with Image signatures in C#

How to add Image Signature with a few lines of .NET code


Download Free Trial

About GroupDocs.Signature for .NET API

GroupDocs.Signature for .NET is a advanced .NET API to electronically sign digital documents using various signature types such as text, image, barcode, QR-code, stamp, form-field and metadata. Users can load, edit, validate, save, remove, preview and search digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats, with additional support for customizing signature properties as needed.

Steps to sign Jpeg with Image in C#

GroupDocs.Signature for .NET provides ability to sign Jpeg documents with Image signatures quick and easily.

  • Create an instance of Signature class providing Jpeg file supposed to signing as path or memory stream
  • Instantiate SignOptions class and set all demanded data.
  • Invoke the Signature.Sign passing output Jpeg file or memory stream

System Requirements

Documents signing with GroupDocs.Signature for .NET can be performed in just a few simple steps. Our APIs are supported on all major platforms and operating systems. Before executing the code below, make sure you have the following prerequisites installed on your system.

  • Operating systems: Microsoft Windows, Linux, MacOS
  • Development environments: Microsoft Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Get the latest GroupDocs.Signature for .NET from Nuget

        
// Set up input Jpeg file
string filePath = "input.jpeg";
// Set up output file
string outputFilePath = "output.jpeg";
// Provide image file
string imageFilePath = "image.png";

// Instantiate Signature for input file
using (GroupDocs.Signature.Signature signature = new GroupDocs.Signature.Signature(filePath))
{
        //Provide sign options
        ImageSignOptions signOptions = new ImageSignOptions(imageFilePath);
        {
            // set signature position
            Left = 50,
            Top = 200,
        };

        // sign Jpeg document
        SignResult result = signature.Sign(outputFilePath, options);
}

Signing Jpeg documents with Image Live Demo

Sign Jpeg file with Image signature right now by visiting the GroupDocs.Signature App website. Free online demo waiting for you.

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

Signing Other Document Formats with Image using C#

.NET Image signatures management API for documents and images. Add Image signatures to some of the popular file formats as stated below.

Sign PDF with IMAGE

(Portable Document Format)

Sign DOC with IMAGE

(Microsoft Word Binary Format)

Sign DOCX with IMAGE

(Office 2007+ Word Document)

Sign DOCM with IMAGE

(Microsoft Word 2007 Marco File)

Sign DOT with IMAGE

(Microsoft Word Template Files)

Sign DOTM with IMAGE

(Microsoft Word 2007+ Template File)

Sign DOTX with IMAGE

(Microsoft Word Template File )

Sign ODT with IMAGE

(OpenDocument Text File Format)

Sign OTT with IMAGE

(OpenDocument Standard Format)

Sign RTF with IMAGE

(Rich Text Format)

Sign XLS with IMAGE

(Microsoft Excel Spreadsheet (Legacy))

Sign XLSX with IMAGE

(Open XML Workbook)

Sign XLSM with IMAGE

(Macro-enabled Spreadsheet)

Sign XLSB with IMAGE

(Excel Binary Workbook)

Sign CSV with IMAGE

(Comma Seperated Values)

Sign ODS with IMAGE

(OpenDocument Spreadsheet)

Sign OTS with IMAGE

(OpenDocument Spreadsheet Template)

Sign XLTX with IMAGE

(Excel Template)

Sign XLTM with IMAGE

(Excel Macro-Enabled Template)

Sign PPT with IMAGE

(Microsoft PowerPoint 97-2003)

Sign PPTX with IMAGE

(Open XML presentation Format)

Sign PPS with IMAGE

(PowerPoint Slide Show)

Sign PPSX with IMAGE

(PowerPoint Slide Show)

Sign ODP with IMAGE

(OpenDocument Presentation Format)

Sign OTP with IMAGE

(OpenDocument Standard Format)

Sign POTX with IMAGE

(Microsoft PowerPoint Template Presentation)

Sign POTM with IMAGE

(Microsoft PowerPoint Template File)

Sign PPTM with IMAGE

(Macro-enabled Presentation File)

Sign PPSM with IMAGE

(Macro-enabled Slide Show)

Sign PNG with IMAGE

(Portable Network Graphic)

Sign BMP with IMAGE

(Bitmap Image File)

Sign GIF with IMAGE

(Graphical Interchange Format)

Sign TIFF with IMAGE

(Tagged Image File Format)

Sign SVG with IMAGE

(Scalar Vector Graphics)

Sign WEBP with IMAGE

(Raster Web Image Format)

Sign WMF with IMAGE

(Windows Metafile)

Back to top