Packages

 

com.aspose.imaging.imageoptions

Class PsdOptions

    • Constructor Detail

      • PsdOptions

        public PsdOptions()

        Initializes a new instance of the PsdOptions class.

      • PsdOptions

        public PsdOptions(PsdOptions options)

        Initializes a new instance of the PsdOptions class.

        Parameters:
        options - The options.
      • PsdOptions

        public PsdOptions(PsdImage image)

        Initializes a new instance of the PsdOptions class.

        Parameters:
        image - The image.
    • Method Detail

      • getResources

        public ResourceBlock[] getResources()

        Gets or sets the psd resources.

        Value: The psd resources.
      • setResources

        public void setResources(ResourceBlock[] value)

        Gets or sets the psd resources.

        Value: The psd resources.
      • getVersion

        public int getVersion()

        Gets or sets the psd file version.

        Value: The psd file version.
      • setVersion

        public void setVersion(int value)

        Gets or sets the psd file version.

        Value: The psd file version.
      • getCompressionMethod

        public short getCompressionMethod()

        Gets or sets the psd compression method.

        Value: The compression method.
      • setCompressionMethod

        public void setCompressionMethod(short value)

        Gets or sets the psd compression method.

        Value: The compression method.
      • getColorMode

        public short getColorMode()

        Gets or sets the psd color mode.

        Value: The color mode.
      • setColorMode

        public void setColorMode(short value)

        Gets or sets the psd color mode.

        Value: The color mode.
      • getChannelBitsCount

        public short getChannelBitsCount()

        Gets or sets the bits count per color channel.

        Value: The bits count per color channel.
      • setChannelBitsCount

        public void setChannelBitsCount(short value)

        Gets or sets the bits count per color channel.

        Value: The bits count per color channel.
      • getChannelsCount

        public short getChannelsCount()

        Gets the color channels count.

        Returns:
        The color channels count.
      • 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.

        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.

        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.