json TaggedImage(java.lang.Object pix,JSONObject标记)这里的JSONObject标记是什么?该方法的输入需要什么样的参数?
我尝试实现下面的代码,尝试将BuffereImage BuffereImage 1转换为TaggedImage(TIFF)
我不明白如何给出值“标签”。我知道它是一个JSONObject,但是在这个JSONObject中应该有什么样的参数呢
我看了一下Javadoc这个,但它不是很解释。。。由于我刚刚开始学习这一点,我很难理解。。。如果有人能给我一些关于如何解决这个问题的建议,那就太好了
提前多谢
/**
* Convert this Image to a TaggedImage and return it.
* @return
*/
public TaggedImage asTaggedImage (BufferedImage bufferedImage1) {
return new TaggedImage(getPixels(bufferedImage1), tags);
}
共 (0) 个答案