我想更改很多图像的一些剪切路径名称。元数据提取器库
是否有可能实现这一目标?
就像是:
Metadata metadata = ImageMetadataReader.readMetadata(f);
PhotoshopDirectory directoryPshp = metadata.getFirstDirectoryOfType(PhotoshopDirectory.class);
if(directoryPshp != null)
{
directoryPshp.setString(PhotoshopDirectory.TAG_CLIPPING_PATH_NAME, cpName);
}
它没有失败,但它什么也没做......