nagadomi / waifu2x

Image Super-Resolution for Anime-Style Art
http://waifu2x.udp.jp/
MIT License
27.43k stars 2.71k forks source link

DPI loss #266

Open koalito opened 5 years ago

koalito commented 5 years ago

When i run the process, yes the resolution is x2 result but i lost the DPI settings. So for screen results it's good but for printing it's not really interesting.

Can you do something about that ?

nagadomi commented 5 years ago

I am not familiar with printing, but DPI is just metadata so it can be set any value. But I do not know if DPI should keep its original value or if it should be 2x.

DonaldTsang commented 5 years ago

https://graphicdesign.stackexchange.com/questions/107888/check-dpi-of-png-file https://stackoverflow.com/questions/27323561/do-pngs-or-jpgs-have-a-dpi-or-is-it-irrelevant-when-building-for-retina

Some references for DPIs, IMO if the image got 2x then the DPI would be reduced by half.