Package magick

Class ProfileInfo

java.lang.Object
magick.ProfileInfo

public class ProfileInfo extends Object
Deprecated.
This class is only needed for the old (ImageMagick 5.5.7 ?) methods get/setColorProfile() and get/setIptcProfile(). Recommended is to use the new generic methods getImageProfile() and setImageProfile() instead
Class encapsulating some profile related to a image. This class corresponds to the ProfileInfo structure in the C API. ProfileInfo is currently used in the Image structure to store the ICC and IPTC profiles.
Author:
Eric Yeo <ttey@yeo.nu>
See Also:
  • Constructor Details

    • ProfileInfo

      public ProfileInfo()
      Deprecated.
      Constructor.
    • ProfileInfo

      public ProfileInfo(String name, byte[] info)
      Deprecated.
      Constructor.
      Parameters:
      name - name of the profile
      info - the profile information
  • Method Details

    • getName

      public String getName()
      Deprecated.
      After ImageMagick 5.5.7 (?) names are not available
      Get the profile name.
      Returns:
      the profile name
    • setName

      public void setName(String name)
      Deprecated.
      Set the profile name.
      Parameters:
      name - the new profile name attribute value
    • getInfo

      public byte[] getInfo()
      Deprecated.
      Get the profile info.
      Returns:
      the profile info
    • setInfo

      public void setInfo(byte[] info)
      Deprecated.
      Set the profile info.
      Parameters:
      info - the new profile info attribute value