Package de.xima.fc.pdf.screenshot
Interface IImageMapper<R>
- Type Parameters:
R
- Type of the mapped value.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Processes the raw image of a PDF page into the desired format, e.g. a PNG image or base64 data URL etc.
- Since:
- 7.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
convert
- Parameters:
zeroBasedPageIndex
- 0-based index of the page number.image
- Image of a PDF page.- Returns:
- The converted image.
- Throws:
IOException
- When the image could not be processed or converted.
-