com.aspose.cad.jasperreports.tiff

Interface ASTiffExportConfiguration

    • Method Detail

      • getFileStandard

        TiffFileStandardsEnum getFileStandard()

        Gets or sets the TIFF file standard.

        Returns:
        The TIFF file standard.
      • getPremultiplyComponents

        boolean getPremultiplyComponents()

        Gets or sets a value indicating whether components must be premultiplied.

        Returns:
        true if components must be premultiplied; otherwise, false.
      • getYCbCrSubsampling

        int[] getYCbCrSubsampling()

        Gets or sets the subsampling factors for YCbCr photometric.

        Returns:
        The subsampling factors for YCbCr photometric.
        Throws:
        com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid field length. YCbCrSubsampling field must contain two values.
        com.aspose.ms.System.ArgumentNullException - value
      • getYCbCrCoefficients

        com.aspose.cad.fileformats.tiff.TiffRational[] getYCbCrCoefficients()

        Gets or sets the YCbCrCoefficients.

        Returns:
        The YCbCrCoefficients.
        Throws:
        com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid count of rational coefficient values. Must be equal to 3.
        com.aspose.ms.System.ArgumentNullException - value
      • getArtist

        String getArtist()

        Gets or sets the artist.

        Returns:
        The artist.
      • getByteOrder

        TiffByteOrderEnum getByteOrder()

        Gets or sets a value indicating the tiff byte order.

        Returns:
      • getIccProfile

        byte[] getIccProfile()

        Gets the icc profile stream.

        Returns:
        The icc profile.
      • getBitsPerSample

        int[] getBitsPerSample()

        Gets the bits per sample.

        Returns:
        The bits per sample value.

        When setting this value keep in mind that it will also set SamplesPerPixel value to array length. These 2 properties are very tightly coupled so may be set alltogether only.

      • getExtraSamples

        int[] getExtraSamples()

        Gets the extra samples values.

        Returns:
        The extra samples value.
      • getCompression

        TiffCompressionsEnum getCompression()

        Gets the compression.

        Returns:
        The compression.
      • getCopyright

        String getCopyright()

        Gets the copyright.

        Returns:
        The copyright.
      • getColorMap

        int[] getColorMap()

        Gets or sets the color map.

        Returns:
        The color map.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.cad.cadexceptions.imageformats.TiffImageException - The color map may be defined for samples per pixel equal to 1 only. or The bits per sample are not defined.
        com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the followign formula: 3 * (2**BitsPerSample).
      • getPalette

        com.aspose.cad.IColorPalette getPalette()

        Gets or sets the color palette.

        Specified by:
        getPalette in interface ImageExportConfiguration
        Returns:
        The color palette.
      • getDateTime

        String getDateTime()

        Gets or sets the date and time.

        Returns:
        The date and time.
      • getDocumentName

        String getDocumentName()

        Gets or sets the name of the document.

        Returns:
        The name of the document.
      • getAlphaStorage

        TiffAlphaStorageEnum getAlphaStorage()

        Gets or sets the alpha storage option. Options other than TiffAlphaStorage.Unspecified are used when there are more than 3 SamplesPerPixel defined.

        Returns:
        The alpha storage option.
      • isExtraSamplesPresent

        boolean isExtraSamplesPresent()

        Gets a value indicating whether the extra samples is present.

        Returns:
        true if the extra samples is present; otherwise, false.
      • getFillOrder

        TiffFillOrdersEnum getFillOrder()

        Gets or sets the byte bits fill order.

        Returns:
        The byte bits fill order.
      • getHalfToneHints

        int[] getHalfToneHints()

        Gets or sets the halftone hints.

        Returns:
        The halftone hints.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.ms.System.ArgumentOutOfRangeException - value;Halftone hints array length must be equal to 2.
      • getImageDescription

        String getImageDescription()

        Gets or sets the image description.

        Returns:
        The image description.
      • getInkNames

        String getInkNames()
      • getScannerManufacturer

        String getScannerManufacturer()

        Gets or sets the scanner manufacturer.

        Returns:
        The scanner manufacturer.
      • getMaxSampleValue

        int[] getMaxSampleValue()

        Gets or sets the max sample value.

        Returns:
        The max sample value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.
      • getMinSampleValue

        int[] getMinSampleValue()

        Gets or sets the min sample value.

        Returns:
        The min sample value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.
      • getScannerModel

        String getScannerModel()

        Gets or sets the scanner model.

        Returns:
        The scanner model.
      • getOrientation

        TiffOrientationsEnum getOrientation()

        Gets or sets the orientation.

        Returns:
        The orientation.
      • getPageName

        String getPageName()

        Gets or sets the page name.

        Returns:
        The page name.
      • getPageNumber

        int[] getPageNumber()

        Gets or sets the page number tag.

        Returns:
        The page number tag.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.ms.System.ArgumentOutOfRangeException - value;Expected 2 values in the array: PageNumber[0] is the page number and PageNumber[1] is the total number of pages in the document.
      • getPhotometric

        TiffPhotometricsEnum getPhotometric()

        Gets or sets the photometric.

        Returns:
        The photometric.
        See Also:
        TiffPhotometrics
      • getPlanarConfiguration

        TiffPlanarConfigsEnum getPlanarConfiguration()

        Gets or sets the planar configuration.

        Returns:
        The planar configuration.
      • getResolutionUnit

        TiffResolutionUnitsEnum getResolutionUnit()

        Gets or sets the resolution unit.

        Returns:
        The resolution unit.
      • getRowsPerStrip

        long getRowsPerStrip()

        Gets or sets the rows per strip.

        Returns:
        The rows per strip.
      • getTileWidth

        long getTileWidth()

        Gets ot sets tile width.

      • getTileLength

        long getTileLength()

        Gets ot sets tile length.

      • getSampleFormat

        TiffSampleFormatsEnum[] getSampleFormat()

        Gets or sets the sample format.

        Returns:
        The sample format.
        Throws:
        com.aspose.ms.System.ArgumentNullException - value
        com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.
      • getSamplesPerPixel

        int getSamplesPerPixel()

        Gets the samples per pixel. To change this property value use the BitsPerSample property setter.

        Returns:
        The samples per pixel.
      • getSmaxSampleValue

        long[] getSmaxSampleValue()

        Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

        Returns:
        The max sample value.
      • getSminSampleValue

        long[] getSminSampleValue()

        Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

        Returns:
        The min sample value.
      • getSoftwareType

        String getSoftwareType()

        Gets or sets the software type.

        Returns:
        The software type.
      • getStripByteCounts

        long[] getStripByteCounts()

        Gets or sets the strip byte counts.

        Returns:
        The strip byte counts.
      • getStripOffsets

        long[] getStripOffsets()

        Gets or sets the strip offsets.

        Returns:
        The strip offsets.
      • getTileByteCounts

        long[] getTileByteCounts()

        Gets or sets the tile byte counts.

      • getTileOffsets

        long[] getTileOffsets()

        Gets or sets the tile offsets.

      • getSubFileType

        TiffNewSubFileTypesEnum getSubFileType()

        Gets or sets a general indication of the kind of data contained in this subfile.

        Returns:
        The general indication of the kind of data contained in this subfile.
      • getTargetPrinter

        String getTargetPrinter()

        Gets or sets the target printer.

        Returns:
        The target printer.
      • getThreshholding

        TiffThresholdsEnum getThreshholding()

        Gets or sets the threshholding.

        Returns:
        The threshholding.
      • getTotalPages

        int getTotalPages()

        Gets the total pages.

        Returns:
        The total pages.
      • getXposition

        com.aspose.cad.fileformats.tiff.TiffRational getXposition()

        Gets or sets the x position.

        Returns:
        The x position.
      • getXresolution

        com.aspose.cad.fileformats.tiff.TiffRational getXresolution()

        Gets or sets the x resolution.

        Returns:
        The x resolution.
      • getYposition

        com.aspose.cad.fileformats.tiff.TiffRational getYposition()

        Gets or sets the y position.

        Returns:
        The y position.
      • getYresolution

        com.aspose.cad.fileformats.tiff.TiffRational getYresolution()

        Gets or sets the y resolution.

        Returns:
        The y resolution.
      • getFaxT4Options

        Group3OptionsEnum getFaxT4Options()

        Gets or sets the fax t4 options.

        Returns:
        The fax t4 options.
      • getPredictor

        TiffPredictorEnum getPredictor()

        Gets or sets the predictor for LZW compression.

        Returns:
        The predictor type.
      • getImageLength

        long getImageLength()

        Gets or sets the image length.

        Returns:
        The image length.
      • getImageWidth

        long getImageWidth()

        Gets or sets the image width.

        Returns:
        The image width.
      • getExifIfd

        com.aspose.cad.fileformats.tiff.TiffExifIfd getExifIfd()

        Gets or sets the pointer to EXIF IFD.

        Returns:
        The pointer to EXIF IFD.
      • getTags

        com.aspose.cad.fileformats.tiff.TiffDataType[] getTags()

        Gets or sets the tags.

        Returns:
        The tags.
      • getValidTagCount

        int getValidTagCount()

        Gets the valid tag count. This is not the total tags count but the number of tags which may be preserved.

        Returns:
        The valid tag count.
      • getBitsPerPixel

        int getBitsPerPixel()

        Gets the bits per pixel.

        Returns:
        The bits per pixel.
      • getTagByType

        com.aspose.cad.fileformats.tiff.TiffDataType getTagByType(TiffTagsEnum tagKey)

        Gets the instance of the tag by type.

        Parameters:
        tagKey - The tag key.
        Returns:
        Instance of the tag if exists or null otherwise.