GroupDocs.Signature for .NET is a native .NET API to digitally sign documents using various signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. Users can easily add, edit, verify, remove and find 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.
GroupDocs.Signature makes it easy for .NET developers to edit digital signatures from JPEG files within their applications by implementing a few easy steps.
GroupDocs.Signature for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
using (Signature signature = new Signature("sampleSigned.pdf"))
{
TextSearchOptions options = new TextSearchOptions();
// search for text signatures in document
List signatures = signature.Search(options);
if(signatures.Count > 0)
{
TextSignature textSignature = signatures[0];
// change Text property
textSignature.Text = "John Walkman";
// change position
textSignature.Left = textSignature.Left + 10;
textSignature.Top = textSignature.Top + 10;
// change size. Please note not all documents support changing signature size
textSignature.Width = 200;
textSignature.Height = 100;
bool result = signature.Update(textSignature);
if(result)
{
Console.WriteLine($"Signature with Text '{textSignature.Text}' was updated in the document ['{fileName}'].");
}
else
{
Console.WriteLine($"Signature was not updated in the document! Signature with Text '{textSignature.Text}' was not found!");
}
}
}
Edit signatures in JPEG files right now by visiting GroupDocs.Signature Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Users can adjust the compression level to achieve the desired quality level while at the same time reduce the storage size. Image quality is negligibly affected if 10:1 compression is applied to the image. The higher the compression value, the higher the degradation in image quality. JPEG image file format was standardized by the Joint Photographic Experts Group and, hence, the name JPEG. The format has been the choice of storing and transmitting photographic images on the web. Almost all Operating systems now have viewers that support visualization of JPEG images, which are often stored with JPG extension as well. Even the web browsers support visualization of JPEG images.
Read More About JPEG File FormatMulti format documents and images signatures editing API for .NET. Update signatures from some of the popular file formats as stated below.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Word Open XML Document Template)
(Microsoft Word Macro-Enabled Template)
(Rich Text Document)
(Open Document Text)
(OpenDocument Text Template)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Worksheet)
(Microsoft Excel template)
(Microsoft Excel macro-enabled template)
(Open Document Spreadsheet)
(OpenDocument Spreadsheet Template)
(PowerPoint Presentation)
(PowerPoint Open XML Presentation)
(Microsoft PowerPoint 97-2003 Slide Show)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Macro-Enabled Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(OpenDocument Presentation)
(OpenDocument Presentation Template)
(WebP Image)
(Tagged Image File Format)
(JPEG Image)
(Graphics Interchange Format)
(Portable Network Graphic)
(Bitmap File Format)
(CorelDraw Vector Graphic Drawing)
(Scalable Vector Graphics)
(Adobe Photoshop Document)
(Windows Metafile)
(Enhanced Metafile Format)
(Corel Metafile eXchange Image)
(Deja Vu)
(Microsoft PowerPoint Macro-Enabled Slide Show)
(Digital Imaging and Communications in Medicine)