@Beta public interface PicturesManager
java.lang.String savePicture(byte content, PictureType pictureType, java.lang.String suggestedName, float widthInches, float heightInches)
PictureType.TIFF, but rarely
PictureType.WMF. FO (Apache FOP) supports at least PNG and SVG types.
content- picture content
pictureType- detected picture type (may be
suggestedName- suggested picture name (based on picture offset in file), supposed to be unique
widthInches- display width in inches (scaled). May be useful for rendering vector images (such as EMF or WMF)
heightInches- display height in inches (scaled). May be useful for rendering vector images (such as EMF or WMF)
nullif image were not saved and should not be referenced from result HTML / FO.
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.