61315 / resynthesizer

Standalone implementation of https://github.com/bootchk/resynthesizer

Home Page:https://61315.github.io/resynthesizer/painter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimization for big images

light-and-ray opened this issue · comments

Hello. It's awesome extension, I tried to find a version detached from gimp and python staff. Pure code on C. And it is it! It's sad that this repo is not very popular

I'm developing a simple UI on gradio for it. It was fun to explore generated js code and find a way how to pass images into wasm. Also I was needed to rebuild wasm app because it required -s ALLOW_MEMORY_GROWTH=1 for a bit bigger images

I want to ask, do you have any ready code for optimizing inapinting for big images. Just crops masked area with padding, inpaints it, and then pasts back. I have this ready algorithm in python, but it requires from me to understand how to work with images here, and coding cropping is not the most pleasant thing xD

I think because it's useful feature, you have it. But if don't - it's not a problem, I'll write it by myself

commented

I think I won't continue wasm version