Enum Image.Format

    • Enum Constant Detail

      • JPX

        public static final Image.Format JPX
        Note that while PDFxStream can extract JPX / JPEG2000 image files from PDF documents, it cannot decode them to provide runtime bitmap objects. To work with extracted JPEG2000 images, obtain each image's Image.data(), and use other libraries or external tools to decode that data to meet your requirements.
    • Method Detail

      • values

        public static Image.Format[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Image.Format c : Image.Format.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Image.Format valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null