Documents and examples of PythonMagick

后端 未结 6 975
长发绾君心
长发绾君心 2020-12-04 18:09

Where can I find the document and examples of PythonMagick?

I did a search on Google but no much information was found.

6条回答
  •  情书的邮戳
    2020-12-04 19:01

    PythonMagick isn't exactly the same as Magick++, it maps to a subset of Magick++. So if you start trying to use it based on the C++ documentation, you'll eventually run into something that isn't mapped. After wasting a lot of time (in my 30 years as a developer) with inadequately-documented libraries, I've developed a rule: If it isn't properly documented, don't use it.

    I eventually did what I needed to do using python3-PIL. It's a pity, because ImageMagick is really nice to use from C++. But I recommend my rule. In the long run, it will save you a lot of time.

提交回复
热议问题