Waifu2x: Blur & Pixelation Buster!

Discussion in 'Useful Development Tools' started by ave36, Aug 4, 2019.

  1. ave36

    ave36 Veteran Veteran

    Messages:
    90
    Likes Received:
    34
    First Language:
    Russian
    Primarily Uses:
    RMMV
    I've recently tried a new image resizing algorithm called Waifu2x. It is based on neural networks and is advertised as a lossless art resizing tool. I tried it and was very happy with the results.

    Here is an example: an RPGXP-sized character converted into a tall character for RPGMV. As you can see, it is not completely pixelation free, but it has no blur and pixelation is much lighter than when resized with Photoshop or Paint.NET.

    This tool could breathe new life into the numerous RPGXP character sheet generators, I think...
     

    Attached Files:

    #1
  2. ShadowDragon

    ShadowDragon Veteran Veteran

    Messages:
    853
    Likes Received:
    262
    Location:
    Netherlands
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    Waifu2x has also been changed so the outcome wont be 100% when doing png format.

    to make tall character, I rather use photoshop or GIMP, for photoshop, I also use a tall character autorun process.
    but sometimes, the game makes it a bit blurry. so you need to change that as well with a little plugin.

    The best thing you can do is using Photoshop, GIMP or Krita to see if you can fix that.
    while RMXP uses around 16x16 tiles and characters 16x32? MV uses 48x48 and around 48x80 for tall characters.
    and resizing from smaller to bigger become mostly blurry.
     
    #2
  3. ave36

    ave36 Veteran Veteran

    Messages:
    90
    Likes Received:
    34
    First Language:
    Russian
    Primarily Uses:
    RMMV
    I tried Photoshop, and I like the results much less than what I get from Waifu2x. My entire game uses tall character sets made in the RMXP character generator and resized using Waifu2x (I do not use the actual RMXP RTP, only the generator output).

    Also, RMXP characters are 32pt, not 16pt, which makes the resizing factor 1.5. The default Waifu2x factor of 1.6 is close enough.
     
    #3
  4. ShadowDragon

    ShadowDragon Veteran Veteran

    Messages:
    853
    Likes Received:
    262
    Location:
    Netherlands
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    i use different ways for scaling which become much better than waifu2x, so which way did you resize the characters?
     
    #4
  5. ave36

    ave36 Veteran Veteran

    Messages:
    90
    Likes Received:
    34
    First Language:
    Russian
    Primarily Uses:
    RMMV
    Nearest neighbor
     
    #5
  6. ShadowDragon

    ShadowDragon Veteran Veteran

    Messages:
    853
    Likes Received:
    262
    Location:
    Netherlands
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    dont use nearest neighbor.

    there are 3 ways to scale better.
    you can just scale up using ctrl+T screenshot and takeout the outline (1 way but mostly the best way)
    which is also time consuming.

    2nd way is bilinair (best option of all 6 in my opinion)

    3rd way, take a base sheet and draw from scratch
     
    #6
  7. ave36

    ave36 Veteran Veteran

    Messages:
    90
    Likes Received:
    34
    First Language:
    Russian
    Primarily Uses:
    RMMV
    Tried bilinear as well. Too blurry for my taste. Nearest neighbor is too bricky, bilinear is too blurry. Waifu2x is neither.

    And no, I am not going to redraw 100+ sprites from scratch without using generators.
     
    #7
  8. ShadowDragon

    ShadowDragon Veteran Veteran

    Messages:
    853
    Likes Received:
    262
    Location:
    Netherlands
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    I use an autorun to make it taller,
    there is another way to make it taller, but it need manually edits if its not MV sprites.

    which is cut into 4 or 5 pieces and move it 1 pixel UP, and edit the color in between.
    but other ways than that, would be hard because there is no other way to get it sharp if you ask me.
     
    #8
  9. mlogan

    mlogan Global Moderators Global Mod

    Messages:
    13,837
    Likes Received:
    7,638
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV

    I've moved this thread to Useful Development Tools. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #9
  10. Restart

    Restart Veteran Veteran

    Messages:
    235
    Likes Received:
    156
    First Language:
    English
    Primarily Uses:
    RMMV
    #10

Share This Page