Skip to end of metadata
Go to start of metadata

This page contains release notes for GroupDocs.Parser for Java 18.10.

Major Features

There are the following features in this release:

  • Implemented API to extract images from documents

Full List of Issues Covering all Changes in this Release

PARSERNET-65Implement API to extract images from documentsNew feature
PARSERNET-69Implement the ability to extract images from PDFNew feature
PARSERNET-71Implement the ability to extract images from spreadsheetsNew feature
PARSERNET-72Implement the ability to extract images from text documentsNew feature
PARSERNET-74Implement the ability to extract images from presentationsNew feature

 

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in GroupDocs.Parser for Java 18.10. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Parser which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.

API to extract images from documents

Description

This feature allows extracting images from documents.

Public API changes

  • Added Emf constant to MediaTypeNames.Application class
  • Added Images nested class to MediaTypeNames class
  • Added Windows nested class to MediaTypeNames class
  • Added ImageArea class
  • Added ImageAreaSearchOptions class
  • Added getImageAreas methods to DocumentContent class
  • Added ImageAreasproperty to DocumentPage class

To extract images from the page getImageAreas methods are used:

Java

The method with one parameter returns all images from the page with zero-based pageIndex. The method with ImageAreaSearchOptions optional parameter returns only the images which meet the conditions of searchOptions. Both versions of the method return a collection of ImageArea objects:

Member
Description
PageLink to the page which contains this image
RectangleRectangle of the image area
RotationAngle of the image rotation (0 if image isn't rotated)
MediaTypeMIME type of the image
GetBitmapStreamReturns a stream with bitmap representation of the image
GetRawStreamReturns a stream with the image

ImageAreaSearchOptions class has only one property - Rectangle. If it's set, the method returns only the images which are intersected with the given Rectangle.

Usage

Java

Extracting images from PDF documents

Description

This feature allows extracting images from PDF documents.

Public API changes

No public API changes

Usage

To extract images from the page getImageAreas methods are used:

Java

Extracting images from spreadsheets

Description

This feature allows extracting images from spreadsheets.

Public API changes

No public API changes

Usage

To extract images from the sheet getImageAreas methods are used:

Java

Extracting images from text documents

Description

This feature allows extracting images from text documents.

Public API changes

No public API changes

Usage

To extract images from the page getImageAreas methods are used:

Java

Extracting images from presentations

Description

This feature allows extracting images from presentations.

Public API changes

No public API changes

Usage

To extract images from the slide getImageAreas methods are used:

Java
Labels
  • No labels