nihui / waifu2x-ncnn-vulkan

waifu2x converter ncnn version, runs fast on intel / amd / nvidia / apple-silicon GPU with vulkan
MIT License
3.01k stars 210 forks source link

How to force output JPG #159

Closed aozaki-kuro closed 1 year ago

aozaki-kuro commented 3 years ago

This is the command I was using

waifu2x -i D:\1.png -o D:\2.jpg -f jpg -s 2

I want output jpg only but it kept responding image D:\1.png has alpha channel. But in fact the picture has no alpha (transparent part) so it should be safe to output as jpg directly.

I would like to ask if there is a way to force output jpg? Or maybe the project can add something like --force-format to force the output format. Thank you!

Nova-Aurora commented 1 year ago

I'm confused. What PNG brings this up exactly?