com.itextpdf.text.html.simpleparser
Interface ImageProcessor
public interface ImageProcessor
Implement this interface to process images and
to indicate if the image needs to be added or
skipped.
- Since:
- 5.0.6 (renamed)
process
boolean process(Image img,
Map<String,String> attrs,
ChainedProperties chain,
DocListener doc)
- Allows you to (pre)process the image before (or instead of)
adding it to the DocListener with HTMLWorker.
- Parameters:
img
- the Image objectattrs
- attributes of the imagechain
- hierarchy of attributesdoc
- the DocListener to which the Image needs to be added
- Returns:
- false if you still want HTMLWorker to add the Image
Copyright © 2013. All Rights Reserved.