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

Liquid Rescale - extra options? #421

Closed
2 tasks done
Tylertron1998 opened this issue Apr 5, 2019 · 5 comments
Closed
2 tasks done

Liquid Rescale - extra options? #421

Tylertron1998 opened this issue Apr 5, 2019 · 5 comments
Milestone

Comments

@Tylertron1998
Copy link
Contributor

Tylertron1998 commented Apr 5, 2019

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of Magick.NET

System Configuration

  • Magick.NET version: Latest Nuget OpenMP, Q16
  • Environment (Operating system, version and so on): Ubuntu 16.04

Question

Hi there - while browsing the library for python, I came across two extra arguments that I don't seem to find here.

delta_x (numbers.Real) – maximum seam transversal step. 0 means straight seams. default is 0
rigidity (numbers.Real) – introduce a bias for non-straight seams. default is 0

wondering what these are - and how to pass them via your library - if at all possible. For reference, here is the link: http://docs.wand-py.org/en/0.5.2/wand/image.html#wand.image.BaseImage.liquid_rescale

@dlemstra
Copy link
Owner

dlemstra commented Apr 6, 2019

You can specify those arguments by setting the offset of the geometry but I should probably make this easier by adding some extra overloads for this. And this would also mean that you can specify a double instead of an integer.

@dlemstra dlemstra added this to the 7.12.0.0 milestone Apr 6, 2019
@Tylertron1998
Copy link
Contributor Author

I assume this means using the MagikGeometry class, right? Not sure what properties this would map too - what would be the delta_x and what would be the rigidity? Thank you for your reply.

@dlemstra
Copy link
Owner

dlemstra commented Apr 6, 2019

Yes you need to use the MagickGeometry class and Delta=x and rigidity is y.

@Tylertron1998
Copy link
Contributor Author

Awesome - thank you for the help (: is it possible to use a double or float instead of an integer at all with the current implementation?

@dlemstra
Copy link
Owner

dlemstra commented Apr 9, 2019

You can only use integers for now, for float/double a new overload needs to be added.

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

No branches or pull requests

2 participants