![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Moderator
|
A few years back I found a website with information about smoothening out a bitmap picture when you doubled it in size. It doesn't work on photos etc, but for old games with limited palettes it worked very well.
A normal program that doubles will give very chunky pixels. Most programs like Photoshop end up with a smoother picture, but far less crisp and the edges are kind of blurry. If you sharpen you get weird looking edges. A website I visited had some information about a 2x2 filter which worked on pictures with a low number of colours and would do some tricks such as interpolating pixels based on the adjacent pixels. For example, if you have a picture which is 2x2 pixels where the numbers 1 and 2 represent a colour, and you wish to double the picture to 4x4 pixels: Code:
12 21 (double) 1122 1122 2211 2211 (apply 2x2 filter) 1122 1222 <- extra 2 inserted over a 1 2221 <- extra 2 inserted over a 1 2211 I think there was a 4x4 version aswell which ran the 2x2 process twice. It might have been something that is in an emulator or MAME or something. Does anyone recognise this, know a website detailing this process or know exact what it's called etc? I cannot find the site anymore and want to check out exactly what they did! |
|
|
|
|
|
#2 |
|
HOL-Team
|
This one: http://scale2x.sourceforge.net/ ? There are others too, like Eagle or SuperSai.
|
|
|
|
|
|
#3 |
|
Moderator
|
Legend! That's it! Thanks Duke!
|
|
|
|
|
|
#4 |
|
DEAD
Join Date: Jan 2002
Location: .
Posts: 3,399
|
nice info. Shouldn't this thread be put somewhere else, so it's not deleted. Think this is usefull info
![]() |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Sep 2004
Location: Norway
Age: 38
Posts: 180
|
wow, why has'nt this evolved into a standard in graphic programs like Photoshop?
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Oct 2005
Location: Brighton, England
Age: 40
Posts: 25
|
Because Photoshop is primarily designed to work with high-res, continous tone, true colour images (ie, photos) and this scaling effect is usless for such imagery.
|
|
|
|
|
|
#7 | |
|
The Ancient One
Join Date: Feb 2002
Location: Kansas City/USA
Age: 58
Posts: 684
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Registered User
Join Date: Sep 2004
Location: Norway
Age: 38
Posts: 180
|
Quote:
The method is fairly simple, and not limitied to numbers of colours? |
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Apr 2002
Location: Germany
Posts: 101
|
Please visit this site, too. IMHO it's the algorithm with the highest quality for increasing sizes of pixeled/paletted images.
http://www.hiend3d.com/ |
|
|
|
|
|
#10 |
|
[Satan^God]
|
The example gfx on the sourceforge website impressed me. Metal Slug rocks! Does anyone know how winuae is using this? It is the "Display->Line Mode->Doubled" option?
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jst problems with some files based installers | pbareges | support.Games | 11 | 04 March 2005 13:01 |
| PD turn-based strategy, like Laser Squad | Gabe | Looking for a game name ? | 7 | 23 October 2004 21:19 |
| What about creating Hired Guns2 (based on HR1) | wlcina | project.CARE | 20 | 08 October 2004 11:44 |
| looking for Amiga disk based mag | technium | Looking for a game name ? | 0 | 25 August 2004 10:31 |
| A500 disk based games to cd rom | backtoskooldaze | Retrogaming General Discussion | 7 | 23 October 2003 04:01 |