Method: Magick::Image#iptc_profile
- Defined in:
- ext/RMagick/rmimage.cpp
#iptc_profile ⇒ String?
Return the IPTC profile as a String.
8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 |
# File 'ext/RMagick/rmimage.cpp', line 8429
VALUE
Image_iptc_profile(VALUE self)
{
Image *image;
const StringInfo *profile;
image = rm_check_destroyed(self);
profile = GetImageProfile(image, "iptc");
if (!profile)
{
return Qnil;
}
return rb_str_new((char *)profile->datum, (long)profile->length);
}
|