Introducing Image Extraction in GroupDocs.Parser for Java 18.10

GroupDocs.Parser for Java

We are delighted to announce the release of GroupDocs.Parser for Java 18.10. The latest release has come with a useful feature of extracting images from the documents. This feature is introduced for PDF, spreadsheet, presentation and text document formats. For more details, please have a look at the release notes of version 18.10.

Features Introduced

Extracting Images from Documents

To extract images from the page of the document, getImageAreas methods are used. getImageAreas has following overloads:

public IList getImageAreas(int pageIndex);
public IList getImageAreas(int pageIndex, ImageAreaSearchOptions searchOptions);

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 the searchOptions. Both versions of the method return a collection of ImageArea objects. ImageAreaSearchOptions class has only one property – Rectangle. If it’s set, the method returns only the images which are intersected with the given Rectangle.

At the moment, this feature is introduced for PDF, text, presentation and spreadsheet documents only. For working examples of extracting images, please refer to the following documentation articles:

Available Channels and Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Parser:

Feedback

As always, if you have any questions or suggestions, feel free to write on our forum.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

To keep up with our news, you can follow us on Twitter or follow our Facebook page.