index.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <!-- This file was automatically generated by webgen/gen.rb. Do not make changes to this file manually. -->
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="utf-8">
  7. <link rel="shortcut icon" href="favicon.ico"/>
  8. <meta name="viewport" content="initial-scale=1.0,width=device-width">
  9. <link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css" rel="stylesheet" type="text/css">
  10. <link href="style.css" rel="stylesheet" type="text/css">
  11. <link href="mobile.css" rel="stylesheet" type="text/css" media="screen and (max-width: 768px) and (min-width: 0px)">
  12. <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  13. <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>
  14. <script type="text/javascript" src="ui.js"></script>
  15. <title>waifu2x</title>
  16. </head>
  17. <body>
  18. <div class="all-page">
  19. <h1 class="main-title">waifu2x</h1>
  20. <div class="choose-lang">
  21. <a href="index.html">
  22. English
  23. </a>
  24. /
  25. <a href="index.ja.html">
  26. 日本語
  27. </a>
  28. /
  29. <a href="index.ru.html">
  30. Русский
  31. </a>
  32. /
  33. <a href="index.pt.html">
  34. Português
  35. </a>
  36. /
  37. <a href="index.es.html">
  38. Español
  39. </a>
  40. /
  41. <a href="index.fr.html">
  42. Français
  43. </a>
  44. /
  45. <a href="index.de.html">
  46. Deutsch
  47. </a>
  48. /
  49. <a href="index.tr.html">
  50. Türkçe
  51. </a>
  52. /
  53. <a href="index.zh-CN.html">
  54. 简体中文
  55. </a>
  56. </div>
  57. <p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p>
  58. <p class="margin1 link-box">
  59. <a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank">
  60. Show full demonstration
  61. </a>
  62. |
  63. <a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank">
  64. Go to GitHub
  65. </a>
  66. </p>
  67. <form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
  68. <div class="option-box first">
  69. <div class="option-left">Image choosing:</div>
  70. <div class="option-right">
  71. <input type="text" id="url" name="url" placeholder="Type URL">
  72. <div class="option-right-small">
  73. Or choose a file:
  74. <input type="file" id="file" name="file"></div>
  75. </div>
  76. <div class="option-hint file_limits">
  77. Limits: Size: 3MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px.
  78. </div>
  79. </div>
  80. <div class="option-box">
  81. <div class="option-left">
  82. Style:
  83. </div>
  84. <div class="option-right">
  85. <label><input type="radio" name="style" class="radio" value="art" checked>
  86. <span class="r-text">
  87. Artwork
  88. </span>
  89. </label>
  90. <label><input type="radio" name="style" class="radio" value="photo">
  91. <span class="r-text">
  92. Photo
  93. </span>
  94. </label>
  95. </div>
  96. </div>
  97. <div class="option-box">
  98. <div class="option-left">
  99. Noise Reduction:
  100. <div class="option-left-small">
  101. (expect JPEG artifact)
  102. </div>
  103. </div>
  104. <div class="option-right">
  105. <label><input type="radio" name="noise" class="radio" value="0">
  106. <span class="r-text">
  107. None
  108. </span>
  109. </label>
  110. <label><input type="radio" name="noise" class="radio" value="1" checked>
  111. <span class="r-text">
  112. Medium
  113. </span>
  114. </label>
  115. <label>
  116. <input type="radio" name="noise" class="radio" value="2">
  117. <span class="r-text">
  118. High
  119. </span>
  120. </label>
  121. <label>
  122. <input type="radio" name="noise" class="radio" value="3">
  123. <span class="r-text">
  124. Highest
  125. </span>
  126. </label>
  127. </div>
  128. <div class="option-hint">
  129. You need use noise reduction if image actually has noise or it may cause opposite effect.
  130. </div>
  131. </div>
  132. <div class="option-box">
  133. <div class="option-left">
  134. Upscaling:
  135. <div class="option-left-small"></div>
  136. </div>
  137. <div class="option-right">
  138. <label><input type="radio" name="scale" class="radio" value="0" checked>
  139. <span class="r-text">
  140. None
  141. </span>
  142. </label>
  143. <label><input type="radio" name="scale" class="radio" value="1">
  144. <span class="r-text">
  145. 1.6x
  146. </span>
  147. </label>
  148. <label><input type="radio" name="scale" class="radio" value="2">
  149. <span class="r-text">
  150. 2x
  151. </span>
  152. </label>
  153. </div>
  154. </div>
  155. <div class="option-box">
  156. <div class="option-left">
  157. TTA:
  158. <div class="option-left-small"></div>
  159. </div>
  160. <div class="option-right">
  161. <label><input type="radio" name="tta_level" class="radio" value="1" checked>
  162. <span class="r-text">
  163. 1 pass
  164. </span>
  165. </label>
  166. <!--
  167. <label><input type="radio" name="tta_level" class="radio" value="2" checked>
  168. <span class="r-text">
  169. 2 pass
  170. </span>
  171. </label>
  172. <label><input type="radio" name="tta_level" class="radio" value="4">
  173. <span class="r-text">
  174. 4 pass
  175. </span>
  176. </label>
  177. <label><input type="radio" name="tta_level" class="radio" value="8">
  178. <span class="r-text">
  179. 8 pass
  180. </span>
  181. </label>
  182. -->
  183. <label><input type="radio" name="tta_level" class="radio" value="0" checked>
  184. <span class="r-text">
  185. n-pass auto
  186. </span>
  187. </label>
  188. </div>
  189. <div class="option-hint">
  190. TTA makes stable quality but it limits the source image size.
  191. <a href="#" class="tta_rule">
  192. Show the rule of `n-pass auto`.
  193. </a>
  194. <div style="display:none" class="tta_rule_text">
  195. <table>
  196. <tr>
  197. <td>
  198. &lt;= 452x452
  199. </td>
  200. <td>
  201. 8 pass
  202. </td>
  203. </tr>
  204. <tr>
  205. <td>
  206. &lt;= 640x640
  207. </td>
  208. <td>
  209. 4 pass
  210. </td>
  211. </tr>
  212. <tr>
  213. <td>
  214. &lt;= 905x905
  215. </td>
  216. <td>
  217. 2 pass
  218. </td>
  219. </tr>
  220. <tr>
  221. <td>
  222. else
  223. </td>
  224. <td>
  225. 1 pass
  226. </td>
  227. </tr>
  228. </table>
  229. </div>
  230. </div>
  231. </div>
  232. <input type="submit" class="button" value="Convert">
  233. <input type="submit" name="download" value="Download" class="button">
  234. <div class="bottom-hint">
  235. <ul>
  236. <li>If you are using Firefox, Please press the CTRL+S key to save image. "Save Image" option doesn't work.</li>
  237. </ul>
  238. </div>
  239. </form>
  240. </div>
  241. <div class="bottom-info address">
  242. <a href="https://github.com/nagadomi/waifu2x" class="gray-link" target="_blank">waifu2x</a>
  243. </div>
  244. </body>
  245. </html>