Class PageToImageNode


  • public class PageToImageNode
    extends Node
    This worker converts the pages of a document into images defined by the target image format.
    • Constructor Detail

      • PageToImageNode

        public PageToImageNode()
    • Method Detail

      • getWorkerClassName

        public String getWorkerClassName()
        Maps the current node to the corresponding worker class.
        Overrides:
        getWorkerClassName in class Node
        Returns:
        a string representation of the canonical worker class name.
      • getMaximumSize

        public Dimension getMaximumSize()
      • setMaximumSize

        public void setMaximumSize​(Dimension maximumSize)
        Define the maximum bounds that the image can adjust to.
        Parameters:
        maximumSize - the maximum bounds that the image can adjust to. If not set the image bounds are not limited.
      • setColorModel

        public void setColorModel​(int colorModel)
      • getColorModel

        public int getColorModel()
      • getCompressionQuality

        public float getCompressionQuality()
      • setCompressionQuality

        public void setCompressionQuality​(float compressionQuality)