waifu2x-chainer
waifu2x-chainer copied to clipboard
[support request] are possible to support all JPEG formats?
Some images use JPEG formats that beside .jpg and .jpeg. Can your Waifu2x support other JPEG formats such as .jpe, .jif, .jfif, and .jfi?
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.
https://github.com/tsurumeso/waifu2x-chainer/blob/fa91111d6a3c985d45608942c11643cb884255e5/waifu2x.py#L162-L163