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

Add shape limit option #7

Closed
Pichu0102 opened this issue Jun 2, 2018 · 5 comments
Closed

Add shape limit option #7

Pichu0102 opened this issue Jun 2, 2018 · 5 comments

Comments

@Pichu0102
Copy link

An option to stop once a certain number of shapes has been reached would be nice.

@Tw1ddle
Copy link
Owner

Tw1ddle commented Jun 2, 2018

Will add that soon. Probably by adding an scriptable stop condition, with a "stop if shape count >= n" as one of the preset scripts.

@Tw1ddle
Copy link
Owner

Tw1ddle commented Jan 4, 2019

Hey, this is implemented! There's now a "Stop Conditions" tab next to the "Task Settings" and "Exporters" tabs when geometrizing an image.

This tab has a shape limit option and way to script custom stop conditions, will be in the latest automated builds soon: https://github.com/Tw1ddle/geometrize-installer#development-builds

Looks like this:

@Tw1ddle Tw1ddle closed this as completed Jan 4, 2019
@rovo79
Copy link

rovo79 commented Nov 19, 2021

What is the difference between the Max Shape Count and the Custom Stop Condition?

@Tw1ddle
Copy link
Owner

Tw1ddle commented Nov 19, 2021

In theory you could write other conditions for stopping the process, like if you reach a certain similarity to the desired image. I haven't documented how to do that yet though (or even tried it myself).

@rovo79
Copy link

rovo79 commented Nov 19, 2021

I just allowed mine to up to 29,000+ shapes on a 1,200x 675 target image, when it was done, I almost couldn't tell the difference because it had pretty much recreated the image :)

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

No branches or pull requests

3 participants