1. Produkter
  2.   Conholdate.Total
  3.   .NET
  4.   Tilføj vandmærke til IMAGE i C# .NET

Tilføj vandmærke til IMAGE i C# .NET

Tilføj tekst- eller billedvandmærke til IMAGE-filer i C#-, ASP.NET-, VB.NET-, .NET Core-, Xamarin- og Mono-baserede applikationer. Brug avancerede vandmærkestyringsfunktioner til at tilføje forskellige vandmærketyper til PDF, Word, Excel, PowerPoint, Visio-diagrammer, e-mailvedhæftede filer, animerede GIF’er, flersidede TIFF- og rasterbilledformater uden brug af andet vandmærkeværktøj eller -software. Vælg at tilføje vandmærke til hele dokumentet, bestemte sider eller et bestemt afsnit på siderne, efter behov.

Hent

Tilføj billedvandmærke til IMAGE i .NET

Conholdate.Total for .NET gør det nemt for .NET-udviklere at tilføje billedvandmærke til IMAGE-filer ved at følge nogle få nemme trin.

  • Instantiér Watermarker med inputdokumentformat
  • Brug vandmærkets billedsti som konstruktørparameter for klassen ImageWatermark
  • Indstil vandmærkets størrelse og justering
  • Tilføj vandmærke til watermarker og opret outputdokument

Hent .NET vandmærke API

Nedenstående kodeeksempel kræver GroupDocs.Watermark navneområde for at indsætte billedvandmærke til IMAGE og andre understøttede dokumentformater på alle populære operativsystemer såsom Windows, Linux eller macOS, mens du bruger Windows Azure, Mono og Xamarin platforme.

Hent de respektive filer fra Hent eller hent hele pakken fra NuGet for at tilføje Conholdate.Total direkte i dit arbejdsområde.


Tilføj tekstvandmærke til IMAGE i .NET

Nedenstående kodeeksempel viser, hvordan man tilføjer tekstvandmærke til en IMAGE-fil ved hjælp af et par linjer C#-kode. Det vil indsætte vandmærke på alle siderne i de understøttede dokumentformater.

  • Instantiér Watermarker med inputdokument
  • Initialiser Font, der skal bruges til vandmærke
  • Opret objektet TextWatermark
  • Indstil vandmærkeegenskaber (justering, farve osv.)
  • Tilføj vandmærke til vandmærket og generer outputdokument

Vandmærkebilleder og dokumenter

.NET Watermark-biblioteket er en alt-i-en-vandmærkehåndteringsløsning til at indsætte forskellige typer tilpassede vandmærker til fotos, billeder og fortrolige dokumenter. Indstil vandmærke til alle vedhæftede filer i en PDF, e-mail eller en Excel-fil. Programmatisk beskyt tekstvandmærke i en PowerPoint-præsentation ved hjælp af ulæselige tegn.

De understøttede vandmærketyper omfatter XObject, Artifact, Annotation, Shape, tekst og billede.


What is IMAGE file format?

An image file format serves as a standardized method for storing digital images. The most prevalent type of image file is the raster image file, which consists of pixels arranged in a particular format and saved as a single file. However, there are also other widely used image file formats, including vector images, photographic images, and 3D images. Each image file format is specifically designed to store images in a particular manner, optimized for various purposes such as printing or viewing on computer monitors.

One of the most commonly utilized image file formats is JPEG (Joint Photographic Experts Group). JPEG files are widely employed for compressing and storing photographic images, making them suitable for online sharing, websites, and digital photography. They strike a balance between image quality and file size, ensuring efficient storage and transmission.

Another popular image file format is GIF (Graphics Interchange Format). GIF files support both still and animated images, making them ideal for simple animations, logos, and graphics. They use a lossless compression technique, which preserves image quality but may result in larger file sizes compared to other formats.

TIFF (Tagged Image File Format) is a versatile image file format commonly used in professional settings. It supports high-quality images with lossless compression, making it suitable for tasks like printing, publishing, and graphic design. TIFF files preserve all image data, providing flexibility for editing and preserving image fidelity.

PNG (Portable Network Graphics) is a widely adopted image file format known for its lossless compression and support for transparent backgrounds. PNG files are often used for web graphics, logos, and images requiring high-quality with a smaller file size.

Understanding the various image file formats allows users to choose the most appropriate format for their specific needs, ensuring optimal image quality, file size, and compatibility. Whether it’s sharing photographs, creating animations, or producing high-quality prints, selecting the right image file format is crucial for achieving the desired results.

Lære

Populære dokumentvandmærkeindstillinger med .NET

Føj vandmærke til PDF-filer

(Portable Document Format)

Føj vandmærke til WORD-filer

(Word Processing Files)

Føj vandmærke til IMAGE-filer

(Digital Image Files)

Føj vandmærke til VISIO-filer

(Visio Diagram Files)

Føj vandmærke til DOC-filer

(Microsoft Word Binary Format)

Føj vandmærke til DOCX-filer

(Office 2007+ Word Document)

Føj vandmærke til DOCM-filer

(Microsoft Word 2007 Marco File)

Føj vandmærke til DOT-filer

(Microsoft Word Template Files)

Føj vandmærke til DOTM-filer

(Microsoft Word 2007+ Template File)

Føj vandmærke til DOTX-filer

(Microsoft Word Template File )

Føj vandmærke til XLS-filer

(Microsoft Excel Spreadsheet (Legacy))

Føj vandmærke til XLSM-filer

(Macro-enabled Spreadsheet)

Føj vandmærke til XLT-filer

(Excel 97 - 2003 Template)

Føj vandmærke til XLTM-filer

(Excel Macro-Enabled Template)

Føj vandmærke til PPT-filer

(Microsoft PowerPoint 97-2003)

Føj vandmærke til PPTX-filer

(Open XML presentation Format)

Føj vandmærke til PPTM-filer

(Macro-enabled Presentation File)

Føj vandmærke til PPS-filer

(PowerPoint Slide Show)

Føj vandmærke til PPSX-filer

(PowerPoint Slide Show)

Føj vandmærke til PPSM-filer

(Macro-enabled Slide Show)

Føj vandmærke til POT-filer

(Microsoft PowerPoint Template Files)

Føj vandmærke til POTX-filer

(Microsoft PowerPoint Template Presentation)

Føj vandmærke til POTM-filer

(Microsoft PowerPoint Template File)

Føj vandmærke til EMLX-filer

(Apple Mail Message)

Føj vandmærke til OFT-filer

(Outlook File Template)

Føj vandmærke til MSG-filer

(Outlook Message Item File)

Føj vandmærke til ODT-filer

(OpenDocument Text File Format)

Føj vandmærke til GIF-filer

(Graphical Interchange Format)

Føj vandmærke til JPG-filer

(Joint Photographic Expert Group Image)

Føj vandmærke til JPEG-filer

(Joint Photographic Expert Group Image)

Føj vandmærke til JP2-filer

(JPEG 2000 Core Image)

Føj vandmærke til PNG-filer

(Portable Network Graphic)

Føj vandmærke til TIFF-filer

(Tagged Image File Format)

Føj vandmærke til WEBP-filer

(Raster Web Image Format)

Føj vandmærke til VSD-filer

(Visio Drawing File)

Føj vandmærke til VDX-filer

(Vector Design eXchange)

Føj vandmærke til VSDM-filer

(Visio Macro-Enabled Drawing)

Føj vandmærke til VSS-filer

(Visio Stencil File)

Føj vandmærke til VSSM-filer

(Visio SmartShape Master)

Føj vandmærke til VSSX-filer

(Visio Stencil File)

Føj vandmærke til VSTM-filer

(Visio Macro-Enabled Drawing Template)

Føj vandmærke til VSTX-filer

(Visio Drawing Template)

Føj vandmærke til VSX-filer

(Visio Stencil XML File)

Føj vandmærke til OST-filer

(Outlook Offline Data File)

Føj vandmærke til SVG-filer

(Scalar Vector Graphics)

Føj vandmærke til SVGZ-filer

(Compressed Scalable Vector Graphics)

Føj vandmærke til PSB-filer

(Photoshop Large Document Format)

Føj vandmærke til TEX-filer

(LaTeX Source Document)

Føj vandmærke til TGA-filer

(Truevision Graphics Adapter)

Føj vandmærke til XPS-filer

(XML Paper Specifications)

Føj vandmærke til OTT-filer

(OpenDocument Standard Format)

Føj vandmærke til OTP-filer

(OpenDocument Standard Format)

Føj vandmærke til ODP-filer

(OpenDocument Presentation Format)

Føj vandmærke til MD-filer

(Markdown Language)

Føj vandmærke til PSD-filer

(Photoshop Document)

Føj vandmærke til CSV-filer

(Comma Seperated Values)

Føj vandmærke til DIF-filer

(Data Interchange Format)

Føj vandmærke til DIB-filer

(Device Independent Bitmap)

Føj vandmærke til HTM-filer

(Hypertext Markup Language File)

Føj vandmærke til EMZ-filer

(Windows Compressed Enhanced Metafile)

Føj vandmærke til PCL-filer

(Printer Command Language Document)

 Dansk