Skip to content

Commit

Permalink
Update magick_wand_prop.go
Browse files Browse the repository at this point in the history
  • Loading branch information
liz3 authored and justinfx committed Jan 20, 2020
1 parent 567e9fd commit a0c1d44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions imagick/magick_wand_prop.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,8 @@ func (mw *MagickWand) SetImageProfile(name string, profile []byte) error {
}

// Associates a property with an image.
// Note: no tags except "comment" are persisted, during the use of the instance
// all tags are accessible, should the data be written(to a file, as btye slice...) and re read,
//all edited tags excluding "comment" will NOT be present anymore.
// Note: Which properties are persisted(file write, byte slice) depends on the writer for the used fle format respectively.
// Refer to the ImageMagick documention for more specific information.
func (mw *MagickWand) SetImageProperty(property, value string) error {
csproperty := C.CString(property)
defer C.free(unsafe.Pointer(csproperty))
Expand Down

0 comments on commit a0c1d44

Please sign in to comment.