GroupDocs.Signature for .NET

Add image signature to JPEG files

Utilize GroupDocs.Signature for .NET to seamlessly integrate images into a wide array of office document formats, including PDFs, Word, Excel, and image files. Incorporating an image of your boss’s signature can create a striking professional impression, elevating the visual appeal and authenticity of your documents.

How to add an image in any place of a JPEG using C#

Leverage GroupDocs.Signature to empower .NET applications with the ability to accurately embed signatures into any page of JPEG documents. Enhance your product’s capabilities seamlessly by integrating our solution.

  1. Instantiate the Signature class with the JPEG document.
  2. Utilize ImageSignOptions to specify the signature image.
  3. Position the image precisely on any desired page location.
  4. Save the newly signed document to a specified location.
// Initialize Signature with the path to the document
using (Signature signature = new Signature("input.jpeg"))
{
    // Configure ImageSignOptions using an image for the signature
    ImageSignOptions options = new ImageSignOptions("company_logo.jpg")
    {
        // Position the image at the top left corner of all pages
        AllPages = true,
        Left = 100,
        Top = 200
    };

    // Save the signed document
    SignResult result = signature.Sign("output.jpeg", options);
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Comprehensive document signing solutions

We are pleased to present a wide range of signing functionalities supported by our API. Effortlessly add, modify, delete, search, and verify various signature types, including image-based signatures.

Image Signing

Embed images into office documents

Seamlessly insert electronic signatures and images at any designated position on any page of a document. Enhance your document content with text, images, barcodes, metadata, or digital certificates to boost functionality and security.

Signature search and verification

Manage signed documents by verifying the authenticity and integrity of signatures. Retrieve a comprehensive list of all signatures within a document and examine their specific attributes.

Modify signatures

Occasionally, signatures within documents may require updates. Easily adjust the content, appearance, size, or position of existing signatures to meet evolving requirements.

Remove redundant signatures

Our API facilitates full CRUD operations for the majority of signature types. You can efficiently remove signatures from nearly all supported document formats when necessary.

Secure document content with image signatures

Discover how to enrich business documents by embedding images, providing supplementary information.

C#

// Select the document to be signed
using (Signature signature = new Signature("input.jpeg"))
{
    // Create image options with the specified image path
    ImageSignOptions options = new ImageSignOptions("manager_signature.jpg")
    {
          // Define the dimensions of the image signature
          Width = 100,
          Height = 100,

          // Position the image in the bottom right corner
          VerticalAlignment = VerticalAlignment.Bottom,
          HorizontalAlignment = HorizontalAlignment.Right,

          // Apply necessary padding from the page edges
          Margin = new Padding() { Bottom = 120, Right = 120 },

          // Optionally, add a custom border to the image
          Border = new Border()
          {
              Visible = true,
              Color = Color.Red,
              DashStyle = DashStyle.DashDotDot,
              Weight = 5
          },

          // Rotate the signature for optimal alignment
          RotationAngle = 45
    };

    // Save the updated document to the desired location
    SignResult result = signature.Sign("output.jpeg", options);
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Discover GroupDocs.Signature for .NET

GroupDocs.Signature for .NET offers comprehensive capabilities for embedding image signatures at any location on any page within your business documents. Enhance your operational workflows by integrating images into PDFs, Word documents, Excel spreadsheets, PowerPoint presentations, and a variety of popular image formats through our robust library.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Signature for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Understand our feature offerings

Explore a diverse set of signature types and robust operations provided by our platform

Integrate images into diverse file formats

Leverage the .NET API to append supported image formats to an extensive array of documents. Effortlessly resize, position, select specific pages, and apply image-based signatures to your documents.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English