org.apache.fop.render.pdf.pdfbox

## Class ImageConverterPDF2AFP

- java.lang.Object
- - org.apache.xmlgraphics.image.loader.impl.AbstractImageConverter
  - - org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2AFP

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

      public class ImageConverterPDF2AFP
      extends org.apache.xmlgraphics.image.loader.impl.AbstractImageConverter

- - ### Field Summary

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

      `MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageConverterPDF2AFP()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.xmlgraphics.image.loader.Image` | `convert(org.apache.xmlgraphics.image.loader.Image src, java.util.Map hints)`
    `int` | `getConversionPenalty()`
    `org.apache.xmlgraphics.image.loader.ImageFlavor` | `getSourceFlavor()`
    `org.apache.xmlgraphics.image.loader.ImageFlavor` | `getTargetFlavor()`

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

      `checkSourceFlavor`

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

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

- - ### Constructor Detail

    - #### ImageConverterPDF2AFP

          public ImageConverterPDF2AFP()

  - ### Method Detail

    - #### convert

          public org.apache.xmlgraphics.image.loader.Image convert(org.apache.xmlgraphics.image.loader.Image src,
                                                                   java.util.Map hints)
                                                            throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getSourceFlavor

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

    - #### getTargetFlavor

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

    - #### getConversionPenalty

          public int getConversionPenalty()

      Specified by:
        `getConversionPenalty` in interface `org.apache.xmlgraphics.image.loader.spi.ImageConverter`
      Overrides:
        `getConversionPenalty` in class `org.apache.xmlgraphics.image.loader.impl.AbstractImageConverter`

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