Waifu2x: Blur & Pixelation Buster!

ave36

Veteran
Veteran
Joined
Jun 23, 2019
Messages
145
Reaction score
55
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...
 

Attachments

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,144
Reaction score
699
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.
 

ave36

Veteran
Veteran
Joined
Jun 23, 2019
Messages
145
Reaction score
55
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.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,144
Reaction score
699
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?
 

ave36

Veteran
Veteran
Joined
Jun 23, 2019
Messages
145
Reaction score
55
First Language
Russian
Primarily Uses
RMMV
Nearest neighbor
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,144
Reaction score
699
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
 

ave36

Veteran
Veteran
Joined
Jun 23, 2019
Messages
145
Reaction score
55
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.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,144
Reaction score
699
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.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,867
Reaction score
8,234
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.

 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Error brain.exe is not responding. Shutdown and run pillow.exe and bed.exe instead?
Not going to lie, now that business is picking up again after the whole pandemic lockdown.... these 50+ hour work weeks are really slowing down game dev work. It's a good thing I have basically no life, else I'd never have time to do this. :kaopride:
Has anyone else thought of using money for more than just buying things in a game? It could serve as a wealth stat for various mechanics and skill checks.

Forum statistics

Threads
100,444
Messages
975,977
Members
132,082
Latest member
Lightningburrito
Top