How to resize a image without looking blurry or pixelated?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

How to resize a image without looking blurry or pixelated?

Post by Niphura »

As the title says, i want to know how to resize an image without looking blurry or pixelated, is there any program? i already used photoshop, paint.net, gimp, and also a program called SmillaEnlarger
User avatar
Caligari87
Admin
Posts: 6253
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Re: How to resize a image without looking blurry or pixelate

Post by Caligari87 »

There's no detail "between" the pixels, so any upscaling is going to introduce artifacts. If you're okay with how they look, algorithms such as Scalex, xBRZ, and HQx can give a smoothed or semi-painterly look to the upscaling. GZDoom incorporates these natively in the High-Quality resize option, so you can play with that to see how they look.

8-)
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: How to resize a image without looking blurry or pixelate

Post by Niphura »

Caligari87 wrote:There's no detail "between" the pixels, so any upscaling is going to introduce artifacts. If you're okay with how they look, algorithms such as Scalex, xBRZ, and HQx can give a smoothed or semi-painterly look to the upscaling. GZDoom incorporates these natively in the High-Quality resize option, so you can play with that to see how they look.

8-)
In this case i need to reduce the size of the image...it is the same thing?
User avatar
Caligari87
Admin
Posts: 6253
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Re: How to resize a image without looking blurry or pixelate

Post by Caligari87 »

Well that depends. You can't shrink the image pixel size without losing data (and hence, quality).

If you want something high-res to render at a smaller scale, you can using GZDoom's features (like the Scale property in TEXTURES or DECORATE).

8-)
User avatar
hideousdestructor
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: How to resize a image without looking blurry or pixelate

Post by hideousdestructor »

What kind of picture is it? Some filters should be better than others at prioritizing certain details over others, while if this is a smaller piece of pixel art it might be faster to manually edit and smooth out a pixelated resize than to find the exact algorithm that gets you what you need.
Last edited by hideousdestructor on Fri Feb 09, 2018 6:48 pm, edited 1 time in total.
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: How to resize a image without looking blurry or pixelate

Post by Niphura »

Caligari87 wrote:Well that depends. You can't shrink the image pixel size without losing data (and hence, quality).

If you want something high-res to render at a smaller scale, you can using GZDoom's features (like the Scale property in TEXTURES or DECORATE).

8-)
You can do that with only with textures?
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm

Re: How to resize a image without looking blurry or pixelate

Post by ibm5155 »

as long as you maintain the aspect ratio of the image and dont decide to reduce 50% of the original resolution you shouldn't have any kind of problem with gimp\photoshop

Return to “Assets (and other stuff)”