This is a Gimp plugin that uses Python to re-implement Scalex algorythm. This plugins come with an extra, Scale2Ex that combine scale2x and gimp dilate plugin.
Scale2x is real-time graphics effect able to increase the size of small bitmaps guessing the missing pixels without interpolating pixels and blurring the images.
It was originally developed for the AdvanceMAME project in the year 2001 to improve the quality of old games with a low video resolution.
The Scale2x effect was developed by Andrea Mazzoleni in the year 2001 for the project AdvanceMAME.
The effect works repeating a computation pattern for every pixel of the original image. The pattern starts from a square of 9 pixels and expands the central pixel computing 4 new pixels.
Starting from this pattern :
| A | B | C |
| D | E | F |
| G | H | I |
The central pixel E is expanded in 4 new pixels:
| E0 | E1 |
| E2 | E3 |
with these rules (in C language) :
E0 = D == B && B != F && D != H ? D : E; E1 = B == F && B != D && F != H ? F : E; E2 = D == H && D != B && H != F ? D : E; E3 = H == F && D != H && B != F ? F : E;
You are allowed to use the Scale2x implementations in your program if it’s released with the GPL license, or alternatively under all the following conditions:
- the program is not used in commercial activities.
- the whole source code of the program is released with the binary.
- derivative works of the program are allowed.
Instead, you are free to use the algorithm, but please call the effect “Scale2x”.
Source: http://scale2x.sourceforge.net/
Download the plugin scale2x.py.
To install Gimp plugins, you need to copy the scale2x file to Gimp plugin folder, in Windows, will be similar to it:
C:\Document and Settings\<username>\.gimp-2.6\plug-ins\
You have to remenber that Windows don’t come with Python support, you need to install it, the link above is a tutorial teaching how to do this: http://www.gimpusers.com/tutorials/install-python-for-gimp-2-6-windows.html (em inglês).
In Linux (Ubuntu in my case ) normally will be in .
/home/username/.gimp-2.6/plug-ins
Once loaded, the plug-in can be found in Filters – Artistic.
I hope you enjoy!
The plugin is registered in Gimp Registry : http://registry.gimp.org/node/24746
Se você esta procurando a versão em português do Brasil, clique aqui.







me diz se e melhor igual ou se é o scalex http://imgur.com/a/gRXPJ
Opa!
Cara, isso realmente é possível e o resultado desse software é muito bom, e muito melhor que o scale2x (que não é algoritmo meu).
Mas cade o programa para download?
Eles não devem ter disponibilizado, pois o programa não deve cobrir todos os casos.
Mas enfim vamos aguardar até que o programa seja liberado para brincarmos com ele.
Esse algoritmo ia dar um upgrade legal nos joguinhos antigos dos emuladores.
Eu mesmo fiz um algoritmo para duplicar o tamanho da pixel arte (scale2ex,link de exemplos abaixo), mas também não disponibilizo porque não cobre todos os casos, e não tive tempo de ajeitar o que falta.
O meu mantém a arte em pixel mas duplica o tamanho da imagem, transformando em Pixel Arte em HD.
http://trialforce.nostaljia.eng.br/?p=554
As coisas vão melhorar muito nesse sentido nos próximos anos, porque agora temos (os computadores) bastante processamento em tempo real, por isso esses algoritmos começam a se tornar realidade.
Qualquer coisa estamos ae!!
Se quiser me adicionar no msn para papearmos mais sobre o assunto, na página de currículo você encontra ele!
Abração!!