For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root metadata package Use the getImageType method To obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This article explains that how To extract containers items and iterate through container items in Java....with attachments (like emails, PDF Portfolios). In case of outlook...extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
This article shows the use of aliases which allows you To reduce the length of search queries in text form....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
This article shows you how To view and edit metadata of Pdf, DOC, DOCX, PPT, Pptx, XLS, XLSX, emails, images and more with our free online....edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This article shows that how To allow you To search for nouns in the singular or plural, adjectives in the degree of comparison, forms of regular and irregular verbs, etc....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
API allows creating of full-text and / or metadata index on documents. To index only metadata without main content of documents, you only need To set IndexType.MetadataIndex when creating an index....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
Learn how To use DatabaseLoadOptions To configure database document loading in GroupDocs.Conversion for .NET. Supports NSF (Lotus Notes) and SQL formats....pdf" , new PdfConvertOptions ());...converter . Convert ( "email-archive.pdf" , new PdfConvertOptions ());...
This article demonstrates that how To save the redacted document, replacing an original file... rasterize_to_pdf = False result_path = redactor...document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
This article shows that how synonym search allows you To find not only the words specified in the search query, but also the synonyms, words that means the same....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...