XmpCameraRawPackage class
Leave feedback
On this page
Represents Camera Raw schema.
Inheritance: XmpCameraRawPackage →
XmpPackage →
XmpMetadataContainer →
CustomPackage →
MetadataPackage
The XmpCameraRawPackage type exposes the following members:
| Constructor | Description |
|---|---|
__init__(self) |
Initializes a new instance of the XmpCameraRawPackage class. |
| Property | Description |
|---|---|
| metadata_type | Gets the metadata type. |
| keys | Gets a collection of the metadata property names. |
| property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. |
| count | Gets the number of metadata properties. |
| prefix | Gets the xmlns prefix. |
| namespace_uri | Gets the namespace URI. |
| xml_namespace | Gets the XML namespace. |
| auto_brightness | Gets or sets the AutoBrightness value. When true, XmpCameraRawPackage.brightness is automatically adjusted. |
| auto_contrast | Gets or sets the AutoContrast value. When true, “Contrast” is automatically adjusted. |
| auto_exposure | Gets or sets the AutoExposure value. When true, “Exposure” is automatically adjusted. |
| auto_shadows | Gets or sets the AutoShadows value. When true, “Shadows” is automatically adjusted. |
| blue_hue | Gets or sets the BlueHue value. Null if undefined. |
| blue_saturation | Gets or sets the BlueSaturation. Null if undefined. |
| brightness | Gets or sets the Brightness value. Null if undefined. |
| camera_profile | Gets or sets the CameraProfile value. |
| chromatic_aberration_b | Gets or sets the “Chromatic Aberration, Fix Blue/Yellow Fringe” setting. Null if undefined. |
| chromatic_aberration_r | Gets or sets the “Chromatic Aberration, Fix Red/Cyan Fringe” setting. Null if undefined. |
| color_noise_reduction | Gets or sets the Color Noise Reduction setting. Range 0 to 100. |
| contrast | Gets or sets the Contrast setting. Range -50 to 100. |
| crop_top | Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle. |
| crop_left | Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. |
| crop_bottom | Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. |
| crop_right | Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle. |
| crop_angle | Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. |
| crop_width | Gets or sets the width of the resulting cropped image in XmpCameraRawPackage.crop_units units. |
| crop_height | Gets or sets the height of the resulting cropped image in XmpCameraRawPackage.crop_units units. |
| crop_units | Gets or sets units for XmpCameraRawPackage.crop_width and XmpCameraRawPackage.crop_height. |
| exposure | Gets or sets the Exposure setting. |
| green_hue | Gets or sets the Green Hue setting. Range -100 to 100. |
| green_saturation | Gets or sets the Green Saturation setting. Range -100 to 100. |
| has_crop | Gets or sets the HasCrop value. When true, the image has a cropping rectangle. |
| has_settings | Gets or sets HasSettings value. When true, non-default camera raw settings. |
| luminance_smoothing | Gets or sets the LuminanceSmoothing setting. Range 0 to 100. |
| raw_file_name | Gets or sets the file name for a raw file (not a complete path). |
| red_hue | Gets or sets the Red Hue setting. Range -100 to 100. |
| red_saturation | Gets or sets the Red Saturation setting. Range -100 to 100. |
| saturation | Gets or sets the Saturation setting. Range -100 to 100. |
| shadows | Gets or sets the Shadows setting. Range 0 to 100. |
| shadow_tint | Gets or sets the ShadowTint setting. Range -100 to 100. |
| sharpness | Gets or sets the Sharpness setting. Range 0 to 100. |
| temperature | Gets or sets the Temperature setting. Range 2000 to 50000. |
| tint | Gets or sets the Tint setting. Range -150 to 150. |
| version | Gets or sets the version of the Camera Raw plug-in. |
| vignette_amount | Gets or sets the Vignette Amount setting. Range -100 to 100. |
| vignette_midpoint | Gets or sets the Vignetting Midpoint setting. Range 0 to 100. |
| white_balance | Gets White Balance setting. Use XmpCameraRawPackage.set_white_balance to set white balance value. |
| Method | Description |
|---|---|
set(self, name, value) |
Adds string property. |
set(self, name, value) |
Sets integer property. |
set(self, name, value) |
Sets boolean property. |
set(self, name, value) |
Sets DateTime property. |
set(self, name, value) |
Sets double property. |
set(self, name, value) |
Sets the value inherited from XmpValueBase . |
set(self, name, value) |
Sets the value inherited from XmpComplexType . |
set(self, name, value) |
Sets the value inherited from XmpArray . |
contains(self, property_name) |
Determines whether the package contains a metadata property with the specified name. |
find_properties(self, specification) |
Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. |
update_properties(self, specification, value) |
Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. |
remove_properties(self, specification) |
Removes metadata properties satisfying a specification. |
add_properties(self, specification, value) |
Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. |
set_properties(self, specification, value) |
Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. This method is a combination of MetadataPackage.add_properties and MetadataPackage.update_properties.
If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. |
sanitize(self) |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. |
get_xmp_representation(self) |
Converts the XMP value to the XML representation. |
remove(self, name) |
Removes the property with the specified name. |
clear(self) |
Removes all XMP properties. |
set_white_balance(self, white_balance) |
Sets the white balance. |
- module
groupdocs.metadata.standards.xmp.schemes - class
CustomPackage - class
MetadataPackage - class
XmpArray - class
XmpCameraRawPackage - class
XmpComplexType - class
XmpMetadataContainer - class
XmpPackage - class
XmpValueBase
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.