The GroupDocs Metadata API provides the feature to read basic Metadata in CAD files. The supported CAD formats are:
DWG DXF Reading CAD Metadata To access Metadata in a CAD drawing, the GroupDocs.Metadata API provides the CadRootPackage.getCadPackage method.
The following code snippet reads Metadata associated with a CAD file.
advanced_usage.managing_Metadata_for_specific_formats.cad.CadReadNativeMetadataProperties
try (MetadataMetadata = new Metadata(Constants.InputDxf)) { CadRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getCadPackage().getAcadVersion()); System.out.println(root.getCadPackage().getAuthor()); System.out.println(root.getCadPackage().getComments()); System.out.println(root.getCadPackage().getCreatedDateTime()); System.out.println(root.getCadPackage().getHyperlinkBase()); System.out.println(root.getCadPackage().getKeywords()); System.out.println(root.getCadPackage().getLastSavedBy()); System.out.println(root.getCadPackage().getTitle()); // ....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root Metadata package Extract the native Metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_Metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (MetadataMetadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root Metadata package Extract the native Metadata package using the BmpRootPackage.getBmpHeader method Read the BMP header properties advanced_usage.managing_Metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (MetadataMetadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root Metadata package Extract the native Metadata package using BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (MetadataMetadata = new Metadata(Constants.InputBmp)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Discover how to utilize GroupDocs.Metadata for Node.js to extract, update and remove Metadata in your applications....Український Tiếng Việt 中文 中國傳統的 Managingmetadata is an important part of...we will look at how to managemetadata in Node.js applications...
Reading PNG Metadata properties The GroupDocs.Metadata API supports extracting format-specific information from PNG images.
The following are the steps to read the native PNG Metadata.
Load a PNG image Get the root Metadata package Extract the native Metadata package using PngRootPackage.PngPackage Read the PNG Metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Png.PngReadTextChunks
using (MetadataMetadata = new Metadata(Constants.InputPng)) { var root = Metadata.GetRootPackage(); foreach (var chunk in root.PngPackage.TextChunks) { Console.WriteLine(chunk.Keyword); Console.WriteLine(chunk.Text); var compressedChunk = chunk as PngCompressedTextChunk; if (compressedChunk !...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
This article shows how to access XMP Metadata in a file of any supported format....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Access, read, update, add custom packages, and remove XMP Metadata using GroupDocs.Metadata for Python via .NET....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Python...
Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root Metadata package Extract the native Metadata package using FlvRootPackage.Header Read the FLV header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Flv.FlvReadHeaderProperties
using (MetadataMetadata = new Metadata(Constants.InputFlv)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.Header.Version); Console.WriteLine(root.Header.HasAudioTags); Console.WriteLine(root.Header.HasVideoTags); Console.WriteLine(root.Header.TypeFlags); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root Metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (MetadataMetadata = new Metadata(Constants.InputGif)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...