CgEdResource Class

Summary: Class CgEdResource. Content Generator Extra Data (Photoshop CS5)

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.CgEdResource

Inheritance: AdjustmentLayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
CgEdResource()Initializes a new instance of the CgEdResource class

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
TYPE_TOOL_KEY [static]intrThe type tool info key.
autoboolr/wGets or sets a value indicating whether this CgEdResource is automatic.
brightnessintr/wGets or sets the brightness.
contrastintr/wGets or sets the contrast.
keyintrGets the layer resource key.
lab_colorboolr/wGets or sets a value indicating whether [lab color] is used.
lengthintrGets the layer resource length in bytes.
mean_value_for_brightness_and_contrastintr/wGets or sets the mean value for brightness and contrast.
psd_versionintrGets the psd version.
signatureintrGets the signature.
use_legacyboolr/wGets or sets a value indicating whether [use legacy].
versionintr/wGets or sets the version.

Methods

NameDescription
save(stream_container, psd_version)Saves the resource to the specified stream container.

Constructor: CgEdResource()

 CgEdResource() 

Initializes a new instance of the CgEdResource class

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the resource to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.
psd_versionintThe PSD version.