Class PdfUtils


  • public final class PdfUtils
    extends Object
    PdfUtils.
    Author:
    Andreas Rudolph
    • Method Detail

      • createImage

        public static com.lowagie.text.Image createImage​(InputStream srcImg,
                                                         int width,
                                                         int height,
                                                         int resolution,
                                                         boolean mayRotate)
                                                  throws IOException
        Throws:
        IOException
      • createImage

        public static com.lowagie.text.Image createImage​(File srcImg,
                                                         int width,
                                                         int height,
                                                         int resolution,
                                                         boolean mayRotate)
                                                  throws IOException
        Throws:
        IOException
      • createImage

        public static com.lowagie.text.Image createImage​(BufferedImage srcImg,
                                                         int width,
                                                         int height,
                                                         int resolution,
                                                         boolean mayRotate)
                                                  throws IOException
        Throws:
        IOException