问题描述
我想使用(更具体地说:)与。有谁知道这是怎么做到的吗?或者如果那是不可能的,有没有人知道另一个可以做这种失真的库?
I want to use the imagemagick library (more specifically: the shepards distortion part of it) with processing.org. Does anyone know how to do that? Or if that is not possible, does anyone know of another library that can do this type of distortion?
我已经发现了这些相关的问题:,
和
I've already found these related questions: one,two andthree
推荐答案
试着看进入,它是ImageMagick的包装器。但是,如果您希望使用ImageMagick命令行的界面 API应该是有用的。我自己没有使用im4java。但以下部分取自网站:
Try to Look into the JMagick, it is a wrapper of ImageMagick. However if you wish an interface to the ImageMagick commandline im4java API should be useful. I didn't use im4java myself. But the following portion is taken from the site:
该方法的缺点:您的IM命令限制为
的功能。使用JMagick,您可以访问IM的低级
界面,因此您可以非常详细地控制
处理图像。并且你有更好的表现。
Disadvantages of the approach: your are limited to the capabilities of the IM commands. With JMagick, you have access to the low-level interface of IM and therefore you have a very detailed control of the processing of images. And you have better performance.
这篇关于我如何使用imagemagick库进行处理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!