tsurumeso / waifu2x-chainer

Chainer implementation of waifu2x
MIT License
165 stars 54 forks source link

[Bug] cannot write file as WebP. Wait, what? #19

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hai, I found this bug.

Traceback (most recent call last):
  File "waifu2x.py", line 224, in <module>
    icc_profile=icc_profile)
  File "/home/ucok66/.local/lib/python2.7/site-packages/PIL/Image.py", line 2007, in save
    save_handler(self, fp, filename)
  File "/home/ucok66/.local/lib/python2.7/site-packages/PIL/WebPImagePlugin.py", line 342, in _save
    raise IOError("cannot write file as WebP (encoder returned None)")
IOError: cannot write file as WebP (encoder returned None)
tsurumeso commented 5 years ago

I could not reproduce this problem in my environment. Does this happen with certain image? If It is, please provide the problem image. If this happens with any images, I will investigate it in detail.

ghost commented 5 years ago

Sorry, this is my fault, I upscaled image that beyond what WEBP can handle. I was tried to upscale a comic four time bigger than the original, here the image reverence that I use episode_26__books_are_great_by_deevad

ghost commented 5 years ago

I think it is safe to close this Issue now