org.apache.fop.render.pdf.pdfbox

## Class ImageLoaderPDF

- java.lang.Object
- - org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader
  - - org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF

- All Implemented Interfaces:
    org.apache.xmlgraphics.image.loader.spi.ImageLoader

      public class ImageLoaderPDF
      extends org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader

  ImageLoader for PDF. Depends on the PDF preloader based on PDFBox.

- - ### Field Summary

    - ### Fields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImageLoader

      `MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageLoaderPDF(org.apache.xmlgraphics.image.loader.ImageFlavor targetFlavor)` Main constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.xmlgraphics.image.loader.ImageFlavor` | `getTargetFlavor()`
    `org.apache.xmlgraphics.image.loader.Image` | `loadImage(org.apache.xmlgraphics.image.loader.ImageInfo info, java.util.Map hints, org.apache.xmlgraphics.image.loader.ImageSessionContext session)`

    - ### Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader

      `getUsagePenalty, ignoreColorProfile, loadImage`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ImageLoaderPDF

          public ImageLoaderPDF(org.apache.xmlgraphics.image.loader.ImageFlavor targetFlavor)

      Main constructor.
      Parameters:
        `targetFlavor` - the target flavor

  - ### Method Detail

    - #### getTargetFlavor

          public org.apache.xmlgraphics.image.loader.ImageFlavor getTargetFlavor()

    - #### loadImage

          public org.apache.xmlgraphics.image.loader.Image loadImage(org.apache.xmlgraphics.image.loader.ImageInfo info,
                                                                     java.util.Map hints,
                                                                     org.apache.xmlgraphics.image.loader.ImageSessionContext session)
                                                              throws org.apache.xmlgraphics.image.loader.ImageException,
                                                                     java.io.IOException

      Throws:
        `org.apache.xmlgraphics.image.loader.ImageException`
        `java.io.IOException`

Copyright 2007-2023 The Apache Software Foundation. All Rights Reserved.