Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - RyanBram

#1
I started this topic for supporting another thread that I made in AGS Engine Development.

1. Description
Image resizer is a free software designed for resizing image especially for upscaling low res pixel art image multiple times. This software contains many pixel art scaling algorithm that only can be found in video game emulators as image filter.

Screenshot:
Spoiler
[close]

2. Usage
The user interface is very straightforward, you just:
- Choose an image that you want to upscale;
- Choose scaling method that you desire (I recommended use xBR 3x <NoBlend>, but another method is also worth to be tried);
- Set another parameter if necessary;
- Save as your image.

3. Limitations
The limitation of these pixel art algorithm are they only capable for magnifying picture in predefined size, such as 2x, 3x, or 4x and cannot be used to shrink images. The solution when you want to resize you picture with custom size is to magnify the picture with the pixel art scaling algorithms first, then shrink it with lanczos or another filter to the desired size. For example, a pixel art image with dimension 2x2 pixel want to be scaled until 7x7 pixel (almost 4 times of its original size). So the solution is by using - let's say - Hq4x filter to magnify it until 8x8 pixel, then shrink it with lanczos filter to 7x7 pixel. The image will looks perfectly with this method.

4. Comparison
- This image is scaled four times:
Spoiler


[close]
- This image is scaled four times:
Spoiler


[close]
- Guybrush Threepwood sprite from  Monkey Island 2: LeChuck's Revenge  is scaled 12 times:
Spoiler


NEAREST NEIGHBOUR


xBR 3x <NoBlend>
[close]

5. Download
You can obtain the program at its main site, just make sure .Net Framework 4 is installed in your computer.


Best regards,

RyanBram
#2
Current version of AGS (3.2.1) has three graphics filter. Those are Nearest Neighbour (2x, 3x, 4x), and Hqx (2x and 3x). But I just read that there is a new filter called xBR (stands for Scaling by Rules) developed by Hyllian. xBR seems exceeds Nearest Neighbour and even Hqx in term of quality as shown in below screenshot :

Spoiler
[close]

I think it will be nice if AGS also incorporate this filter to giving better experience for players especially when playing low res games in HD screen.

The development thread can be found at: http://board.byuu.org/viewtopic.php?f=10=2248
And the source code (xbr.cpp) can be found at: http://sourceforge.net/p/paintown/code/7849/tree/trunk/src/util/graphics/sdl/
Standalone software can be seen at this thread: http://www.adventuregamestudio.co.uk/forums/index.php?topic=47954.0

Regards,

RyanBram
#3
Site & Forum Reports / AGS FAQ Seems Outdated
Wed 03/04/2013 17:17:30
Hi, greetings.
My name is Ryan and I'm new here. This is my new post and english isn't my native language.
I just want to tell site admin that the AGS Main Site FAQ seems outdated especially in parts:
Quote
Q. Then can I have the source code, to port it myself?
A. Sorry, AGS is not open-source. There are many reasons for this which I will not go into here. The main two are:
(1) I made another application open-source in the past, and someone took it, changed the copyright and tried to release it as their own
(2) The AGS file formats are proprietary to make it harder for people to "hack" other people's games. If the source code was available, it would be easy for someone to write some sort of de-compiler for use with other peoples games.

Q. But the GPL will protect you... go on, can I have the source?
A. No it won't. In theory it does, but what happens when someone goes and breaches it? I don't have the time or energy to waste chasing up lamers who have blatantly ignored the license agreement. Sorry.
AFAIK AGS is currently open sourced under Artistic License. Am I right?
SMF spam blocked by CleanTalk