ArielMAJ / G3D

MIT License
2 stars 1 forks source link

Test if it's possible to remove background of file types other than JPGs. #2

Open ArielMAJ opened 2 years ago

ArielMAJ commented 2 years ago

Currently background removal is intentionally working only on JPGs. I'm not sure if rembg works with "jpeg" (but it probably should) neither if it works with PNGs.

ArielMAJ commented 2 years ago

Seems to be the opposite problem of what I'm having, but probably worth looking into later: https://github.com/danielgatis/rembg/issues/151

ArielMAJ commented 2 years ago

I've confirmed rembg works with ".jpeg" files normally.

ArielMAJ commented 2 years ago

App accepts ".jpeg" files from ffc5507b96a6ef062f8602689a76b6e003da29f9 onward.

sbairagi commented 1 year ago

Any idea how can work with jpeg files in rembg

ArielMAJ commented 1 year ago

Any idea how can work with jpeg files in rembg

iirc it works the same as normal JPGs. Check the "rm_bg" function in "/G3D/app/utilities/im_bg.py"

Btw this project uses a really old version of rembg (1.0.27) with Python 3.10.

sbairagi commented 1 year ago

Thanx it worked for me