Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make docs for Image.DISTORTION_METHODS Clearer #534

Closed
MrKomodoDragon opened this issue May 30, 2021 · 2 comments
Closed

Make docs for Image.DISTORTION_METHODS Clearer #534

MrKomodoDragon opened this issue May 30, 2021 · 2 comments
Labels
Milestone

Comments

@MrKomodoDragon
Copy link

MrKomodoDragon commented May 30, 2021

Hi, i was reading the docs for Image.DISTORTION_METHODS so that I could figure out the arguments each method would take so I could pass them into Image.distort(), but it’s hard to find the arguments. Could you possibly add them?

I’d be happy to make a PR for this, but I don’t know how.

@emcconville
Copy link
Owner

PR are welcome!

The documentation for distortion methods are located @ https://docs.wand-py.org/en/0.6.6/guide/distortion.html
I think only SRT, Perspective, and Affine are authored. Arc & Barrel distortion can easily be added. Each distortion algorithm are not finite, so documentation can be tricky without understanding the math involved. Anthony did a great job @ https://legacy.imagemagick.org/Usage/distorts/

emcconville added a commit that referenced this issue Jun 9, 2021
emcconville added a commit that referenced this issue Jun 9, 2021
emcconville added a commit that referenced this issue Jun 11, 2021
@emcconville emcconville added this to the Wand 0.6.7 milestone Jul 10, 2021
@emcconville
Copy link
Owner

Docs updated w/ examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants