profileinfo.java
来自「手机图像自动转换」· Java 代码 · 共 75 行
JAVA
75 行
package magick;/** * 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> */public class ProfileInfo { /** * Name of the profile. */ String name = null; /** * Profile information. */ byte[] info = null; /** * Constructor. */ public ProfileInfo() { } /** * Constructor. * @param name name of the profile * @param info the profile information */ public ProfileInfo(String name, byte[] info) { this.name = name; this.info = info; } /** * Get the profile name. * @return the profile name */ public String getName() { return name; } /** * Set the profile name. */ public void setName(String name) { this.name = name; } /** * Get the profile info. * @return the profile info */ public byte[] getInfo() { return info; } /** * Set the profile info. */ public void setInfo(byte[] info) { this.info = info; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?