XmpCameraRawPackage class

XmpCameraRawPackage class

Represents Camera Raw schema.

The XmpCameraRawPackage type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the XmpCameraRawPackage class.

Methods

Method Description
get_xmp_representation Converts the XMP value to its XML representation.
set Adds a string property.
set_file
set_string
set_white_balance Sets the white balance.
set_white_balance_xmp_white_balance
add_properties Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage)
add_properties_func (inherited from MetadataPackage)
clear Removes all XMP properties. (inherited from XmpPackage)
contains Returns True if the package contains a metadata property with the specified name; otherwise, False. (inherited from MetadataPackage)
contains_file (inherited from MetadataPackage)
contains_string (inherited from MetadataPackage)
find_properties Finds metadata properties that satisfy the specified predicate, searching recursively through all nested packages. (inherited from MetadataPackage)
find_properties_func (inherited from MetadataPackage)
get (inherited from MetadataPackage)
get_enumerator Returns an enumerator that iterates through the collection. (inherited from MetadataPackage)
get_file (inherited from MetadataPackage)
get_string (inherited from MetadataPackage)
remove Removes the property with the specified name. (inherited from XmpPackage)
remove_file (inherited from XmpPackage)
remove_properties Removes metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
remove_properties_func (inherited from MetadataPackage)
remove_string (inherited from XmpPackage)
sanitize Removes writable metadata properties from the package, recursively affecting all nested packages. (inherited from MetadataPackage)
set_properties Sets known metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
set_properties_func (inherited from MetadataPackage)
update_properties Updates known metadata properties that satisfy the specified predicate, recursively affecting all nested packages. (inherited from MetadataPackage)
update_properties_func (inherited from MetadataPackage)

Properties

Property Description
auto_brightness The AutoBrightness property. When true, XmpCameraRawPackage.Brightness is automatically adjusted.
auto_contrast The AutoContrast value. When true, contrast is automatically adjusted.
auto_exposure The AutoExposure flag indicating whether exposure is automatically adjusted.
auto_shadows The AutoShadows value indicating whether shadows are adjusted automatically.
blue_hue The blue hue. Null if undefined.
blue_saturation The blue saturation. Null if undefined.
brightness The brightness value. Null if undefined.
camera_profile The camera profile.
chromatic_aberration_b The chromatic aberration B.
chromatic_aberration_r The chromatic aberration R (Chromatic Aberration, Fix Red/Cyan Fringe) setting.
color_noise_reduction The color noise reduction setting. Range 0 to 100.
contrast The contrast setting, ranging from -50 to 100.
crop_angle The crop angle. When HasCrop is true, this is the angle of the crop rectangle.
crop_bottom The crop bottom setting. When HasCrop is true, this is the bottom of the crop rectangle.
crop_height The height of the resulting cropped image in XmpCameraRawPackage.crop_units units.
crop_left The crop left setting. When HasCrop is true, this is the left side of the crop rectangle.
crop_right The crop right setting.
crop_top The crop top.
crop_units The crop units for XmpCameraRawPackage.CropWidth and XmpCameraRawPackage.CropHeight.
crop_width The width of the resulting cropped image in XmpCameraRawPackage.crop_units units.
exposure The exposure setting.
green_hue The green hue setting. Range -100 to 100.
green_saturation The green saturation setting, ranging from -100 to 100.
has_crop The has_crop property indicates whether the image has a cropping rectangle.
has_settings The has_settings property indicates whether the image has non-default camera raw settings.
luminance_smoothing The luminance smoothing setting. Range 0 to 100.
raw_file_name The file name for a raw file (not a complete path).
red_hue The Red Hue setting. Range -100 to 100.
red_saturation The red saturation setting. Range -100 to 100.
saturation The saturation setting, ranging from -100 to 100.
shadow_tint The shadow tint setting.
shadows The Shadows setting. Range 0 to 100.
sharpness The sharpness setting. Range 0 to 100.
temperature The temperature setting. Range 2000 to 50000.
tint The Tint setting, ranging from -150 to 150.
version The version of the Camera Raw plug-in.
vignette_amount The vignette amount. Range -100 to 100.
vignette_midpoint The Vignetting Midpoint setting (range 0 to 100). The Vignette Midpoint.
white_balance The white balance setting.
count The number of metadata properties. (inherited from MetadataPackage)
keys The collection of metadata property names. (inherited from MetadataPackage)
know_property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
metadata_type The metadata type of the package. (inherited from MetadataPackage)
namespace_uri The namespace URI. (inherited from XmpPackage)
prefix The XML namespace prefix. (inherited from XmpPackage)
property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
xml_namespace The XML namespace. (inherited from XmpPackage)

Example

from groupdocs.metadata.standards.xmp.schemes import XmpCameraRawPackage

# Initialize a Camera Raw package
camera_raw = XmpCameraRawPackage()
camera_raw.shadows = 50
camera_raw.camera_profile = "test"

See Also