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

[support request] are possible to support all JPEG formats? #22

Open
ghost opened this issue May 28, 2019 · 1 comment
Open

[support request] are possible to support all JPEG formats? #22

ghost opened this issue May 28, 2019 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented May 28, 2019

Some images use JPEG formats that beside .jpg and .jpeg. Can your Waifu2x support other JPEG formats such as .jpe, .jif, .jfif, and .jfi?

@ghost ghost changed the title [support request] .jpe suport [support request] are possible to support all JPEG formats? May 28, 2019
@tsurumeso tsurumeso self-assigned this Apr 6, 2020
@tsurumeso
Copy link
Owner

You can extend support by adding those extensions on the following lines.
input_ext is supported extensions of input images and output_ext is that of output images.
But I don't know if those images can be loaded by Python Imaging Library.

waifu2x-chainer/waifu2x.py

Lines 162 to 163 in fa91111

input_exts = ['.png', '.jpg', '.jpeg', '.bmp', '.tif', '.tiff', '.webp']
output_exts = ['.png', '.webp']

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

1 participant