Class InlineImageValidationContext

java.lang.Object
com.itextpdf.kernel.validation.context.InlineImageValidationContext
All Implemented Interfaces:
IValidationContext

public class InlineImageValidationContext extends Object implements IValidationContext
Class for inline image validation context.
  • Constructor Details

    • InlineImageValidationContext

      public InlineImageValidationContext (PdfStream image, PdfResources resources)
      Instantiates a new InlineImageValidationContext based on image and resources.
      Parameters:
      image - the image
      resources - the resources which are used to extract color space of the image
  • Method Details

    • getImage

      public PdfStream getImage()
      Gets the image.
      Returns:
      the image
    • getCurrentColorSpaces

      public PdfDictionary getCurrentColorSpaces()
      Gets the current color space.
      Returns:
      the color space
    • getType

      public ValidationType getType()
      Description copied from interface: IValidationContext
      Gets type of the context.
      Specified by:
      getType in interface IValidationContext
      Returns:
      the type