Logo Search packages:      
Sourcecode: jmagick version File versions  Download package

native boolean magick::MagickImage::setImageAttribute ( String  key,
String  value 
) throws MagickException

Searches the list of image attributes and replaces the attribute value. If it is not found in the list, the attribute name and value is added to the list. SetImageAttribute returns True if the attribute is successfully replaced or added to the list, otherwise False. If the value is null, the matching key is deleted from the list.

Parameters:
key the key of the attribute
value the value of the attribute
Returns:
true if the attribute is replace or false if added
Exceptions:
MagickException on error


Generated by  Doxygen 1.6.0   Back to index