com.aspose.cad.jasperreports.psd

Class ASPsdExportConfigurationImpl

    • Constructor Detail

      • ASPsdExportConfigurationImpl

        public ASPsdExportConfigurationImpl()

        Initializes a new instance of the PsdOptions class.

    • Method Detail

      • setVersion

        public void setVersion(int value)

        Gets or sets the psd file version.

        Parameters:
        value - The psd file version.
      • setCompressionMethod

        public void setCompressionMethod(CompressionMethodEnum value)

        Gets or sets the psd compression method.

        Parameters:
        value - The compression method.
      • setPsdVersion

        public final void setPsdVersion(PsdVersionEnum value)

        Sets the file format version. It can be PSD or PSB.

        Value: The file format version.
        Parameters:
        value - the file format version.
      • setColorMode

        public void setColorMode(ColorModesEnum value)

        Gets or sets the psd color mode.

        Parameters:
        value: - The color mode.
      • getChannelBitsCount

        public short getChannelBitsCount()

        Gets or sets the bits count per color channel.

        Specified by:
        getChannelBitsCount in interface ASPsdExportConfiguration
        Returns:
        The bits count per color channel.
      • setChannelBitsCount

        public void setChannelBitsCount(short value)

        Gets or sets the bits count per color channel.

        Parameters:
        value - The bits count per color channel.
      • setChannelsCount

        public void setChannelsCount(short value)

        Sets the color channels count.

        Parameters:
        value - The color channels count.
      • isRemoveGlobalTextEngineResource

        public boolean isRemoveGlobalTextEngineResource()

        Gets a value indicating whether - Remove the global text engine resource - Used for some text-layered psd files, in only case, when they can not be opened in Adobe Photoshop after processing (mostly for absent fonts text layers related). After using this option, user need to Make next in opened in Photoshop file: Menu "Text" -> "Process absent fonts". After that operation all text will appear again. Please note, that this operation may cause some final layout changes.

        Specified by:
        isRemoveGlobalTextEngineResource in interface ASPsdExportConfiguration
        Returns:
        true if [remove global text engine resource]; otherwise, false.
      • setRemoveGlobalTextEngineResource

        public void setRemoveGlobalTextEngineResource(boolean value)

        Sets a value indicating whether - Remove the global text engine resource - Used for some text-layered psd files, in only case, when they can not be opened in Adobe Photoshop after processing (mostly for absent fonts text layers related). After using this option, user need to Make next in opened in Photoshop file: Menu "Text" -> "Process absent fonts". After that operation all text will appear again. Please note, that this operation may cause some final layout changes.

        Parameters:
        value - true if [remove global text engine resource]; otherwise, false.
      • isRefreshImagePreviewData

        public boolean isRefreshImagePreviewData()

        Gets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.

        Specified by:
        isRefreshImagePreviewData in interface ASPsdExportConfiguration
        Returns:
        true if [refresh image preview data]; otherwise, false.
      • setRefreshImagePreviewData

        public void setRefreshImagePreviewData(boolean value)

        Sets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.

        Parameters:
        value - true if [refresh image preview data]; otherwise, false.