index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. </div>
  37. <p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p>
  38. <p class="margin1 link-box">
  39. <a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank">
  40. Show full demonstration
  41. </a>
  42. |
  43. <a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank">
  44. Go to GitHub
  45. </a>
  46. </p>
  47. <form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
  48. <div class="option-box first">
  49. <div class="option-left">Image choosing:</div>
  50. <div class="option-right">
  51. <input type="text" id="url" name="url" placeholder="Type URL">
  52. <div class="option-right-small">
  53. Or choose a file:
  54. <input type="file" id="file" name="file"></div>
  55. </div>
  56. <div class="option-hint">
  57. Limits: Size: 2MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px.
  58. </div>
  59. </div>
  60. <div class="option-box">
  61. <div class="option-left">
  62. Style:
  63. </div>
  64. <div class="option-right">
  65. <label><input type="radio" name="style" class="radio" value="art" checked>
  66. <span class="r-text">
  67. Artwork
  68. </span>
  69. </label>
  70. <label><input type="radio" name="style" class="radio" value="photo">
  71. <span class="r-text">
  72. Photo
  73. </span>
  74. </label>
  75. </div>
  76. </div>
  77. <div class="option-box">
  78. <div class="option-left">
  79. Noise Reduction:
  80. <div class="option-left-small">
  81. (expect JPEG artifact)
  82. </div>
  83. </div>
  84. <div class="option-right">
  85. <label><input type="radio" name="noise" class="radio" value="0">
  86. <span class="r-text">
  87. None
  88. </span>
  89. </label>
  90. <label><input type="radio" name="noise" class="radio" value="1" checked>
  91. <span class="r-text">
  92. Medium
  93. </span>
  94. </label>
  95. <label>
  96. <input type="radio" name="noise" class="radio" value="2">
  97. <span class="r-text">
  98. High
  99. </span>
  100. </label>
  101. </div>
  102. <div class="option-hint">
  103. You need use noise reduction if image actually has noise or it may cause opposite effect.
  104. </div>
  105. </div>
  106. <div class="option-box">
  107. <div class="option-left">
  108. Upscaling:
  109. <div class="option-left-small"></div>
  110. </div>
  111. <div class="option-right">
  112. <label><input type="radio" name="scale" class="radio" value="0" checked>
  113. <span class="r-text">
  114. None
  115. </span>
  116. </label>
  117. <label><input type="radio" name="scale" class="radio" value="1">
  118. <span class="r-text">
  119. 1.6x
  120. </span>
  121. </label>
  122. <label><input type="radio" name="scale" class="radio" value="2">
  123. <span class="r-text">
  124. 2x
  125. </span>
  126. </label>
  127. </div>
  128. </div>
  129. <input type="submit" class="button" value="Convert">
  130. <input type="submit" name="download" value="Download" class="button">
  131. <div class="bottom-hint">
  132. <ul>
  133. <li>If you are using Firefox, Please press the CTRL+S key to save image. "Save Image" option doesn't work.</li>
  134. </ul>
  135. </div>
  136. </form>
  137. </div>
  138. <div class="bottom-info">
  139. <a href="https://github.com/nagadomi/waifu2x" class="gray-link" target="_blank">waifu2x</a>
  140. </div>
  141. </body>
  142. </html>