Tabnine Logo
PDInlineImage.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage
constructor

Best Java code snippets using org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init> (Showing top 7 results out of 315)

origin: apache/pdfbox

@Override
public void process(Operator operator, List<COSBase> operands) throws IOException
{
  if (operator.getImageData() == null || operator.getImageData().length == 0)
  {
    return;
  }
  PDImage image = new PDInlineImage(operator.getImageParameters(),
                   operator.getImageData(),
                   context.getResources());
  context.drawImage(image);
}
origin: apache/pdfbox

image = new PDInlineImage(operator.getImageParameters(),
             operator.getImageData(),
             getResources());
origin: org.verapdf/pdfbox-validation-model

private List<PDInlineImage> getInlineImage() {
  try {
    COSBase parameters = this.arguments.get(0);
    org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage inlineImage =
        new org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage(
            (COSDictionary) parameters,
            this.imageData,
            this.resources);
    List<PDInlineImage> inlineImages = new ArrayList<>(MAX_NUMBER_OF_ELEMENTS);
    inlineImages.add(new PBoxPDInlineImage(inlineImage, this.document, this.flavour));
    return Collections.unmodifiableList(inlineImages);
  } catch (IOException e) {
    LOGGER.debug(e);
  }
  return Collections.emptyList();
}
origin: org.apache.pdfbox/pdfbox

@Override
public void process(Operator operator, List<COSBase> operands) throws IOException
{
  if (operator.getImageData() == null || operator.getImageData().length == 0)
  {
    return;
  }
  PDImage image = new PDInlineImage(operator.getImageParameters(),
                   operator.getImageData(),
                   context.getResources());
  context.drawImage(image);
}
origin: com.github.lafa.pdfbox/pdfbox

@Override
public void process(Operator operator, List<COSBase> operands) throws IOException
{
  if (operator.getImageData() == null || operator.getImageData().length == 0)
  {
    return;
  }
  PDImage image = new PDInlineImage(operator.getImageParameters(),
                   operator.getImageData(),
                   context.getResources());
  context.drawImage(image);
}
origin: com.github.lafa.pdfbox/preflight

image = new PDInlineImage(operator.getImageParameters(),
             operator.getImageData(),
             getResources());
origin: org.apache.pdfbox/preflight

image = new PDInlineImage(operator.getImageParameters(),
             operator.getImageData(),
             getResources());
org.apache.pdfbox.pdmodel.graphics.imagePDInlineImage<init>

Javadoc

Creates an inline image from the given parameters and data.

Popular methods of PDInlineImage

  • getFilters
    Returns a list of filters applied to this stream, or null if there are none.
  • createColorSpace
  • getBitsPerComponent
  • getColorSpace
  • getData
    Returns the inline image data.
  • getDecode
  • getHeight
  • getImage
  • getWidth
  • isStencil
  • toLongName
  • createInputStream
  • toLongName,
  • createInputStream,
  • getColorKeyMask

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Reference (javax.naming)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now