Reading DICOM metadata properties The GroupDocs.Metadata API supports extracting format-specific information from DICOM Images.
The following are the steps To read the native DICOM metadata.
Load a DICOM Image Get the root metadata package Extract the native metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM metadata properties examples.advanced_usage.managing_metadata_for_specific_formats.Image.dicom.DicomReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); System....metadata for specific formats / Images / Working with DICOM metadata...format-specific information from DICOM images. The following are the steps...
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 (Metadata metadata = 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 for specific formats / Images / Working with BMP metadata...header of a BMP file. a BMP image Get the root metadata package...
GroupDocs.Parser provides the functionality To handle loading of HTML external resources.
Here are the steps To handle loading of HTML external resources.
Instantiate the ParserSettings object and pass External Resource Handler; Create Parser object and call GetImages method. The following code sample shows how To handle loading of HTML external resources.
// Create an instance of ParserSettings To pass External Resource Handler ParserSettings settings = new ParserSettings(new Handler()); // Create an instance of Parser class To generate spreadsheet page previews try (Parser parser = new Parser(Constants...., settings )) { // Extract images from HTML document Iterable...Iterable < PageImageArea > images = parser . getImages (); // Iterate...
Access, read, update, add cusTom packages, and remove XMP metadata using GroupDocs.Metadata for Python via .NET....gets XMP properties of a PNG image and displays them on the screen...schemes . dublin_core . format = "image/gif" root . xmp_package . schemes...
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 (Metadata metadata = 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 !...formats / Images / Working with metadata in PNG images Working...Working with metadata in PNG images Leave feedback Reading PNG metadata...
Access, read, update, and remove IPTC IIM metadata using GroupDocs.Metadata for Python via .NET....that can be applied to text, images, and other media types. The...embedded into a variety of image formats such as JPEG, TIFF,...
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.getPngPackage Read the PNG metadata properties advanced_usage.managing_metadata_for_specific_formats.Image.png.PngReadTextChunks
try (Metadata metadata = new Metadata(Constants.InputPng)) { PngRootPackage root = metadata.getRootPackageGeneric(); for (PngTextChunk chunk : root.getPngPackage().getTextChunks()) { System.out.println(chunk.getKeyword()); System.out.println(chunk.getText()); if (chunk instanceof PngCompressedTextChunk) { PngCompressedTextChunk compressedChunk = (PngCompressedTextChunk) chunk; System....formats / Images / Working with metadata in PNG images Working...Working with metadata in PNG images Leave feedback Reading PNG metadata...
This article explains that how To extract hyperlinks from documents....GitHub examples: Free online image extractor App Along with full...You are welcome to extract images from PDF, DOC, DOCX, PPT, PPTX...
This article explains that how To extract hyperlinks from document page area....GitHub examples: Free online image extractor App Along with full...You are welcome to extract images from PDF, DOC, DOCX, PPT, PPTX...