Inpaint fails when there is nothing to inpaint
vi opened this issue · 2 comments
vi commented
Describe the bug
If inpaint mask is solid white, texture-synthesis
just freezes (CPU busy) before showing any progress.
To Reproduce
$ convert -size 100x100 xc:#FFFFFF white.png
$ texture-synthesis --out-size=100x100 --in-size=100x100 --out=w.png --inpaint=white.png generate white.png
^C
Expected behavior
A picture is generated, probably also fully white.
vi commented