Skip to content

Support other types of input images#5

Open
femj007 wants to merge 1 commit intoTencentARC:mainfrom
femj007:main
Open

Support other types of input images#5
femj007 wants to merge 1 commit intoTencentARC:mainfrom
femj007:main

Conversation

@femj007
Copy link

@femj007 femj007 commented Dec 10, 2022

Currently, the code seems to only support *.png as input. And when I use other types as input, I get an error like "IndexError: list index out of range".

Here I provide a simple idea to support other types of input images like *.jpg or *.bmp. It works fine on my machine.

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

Successfully merging this pull request may close these issues.

1 participant