AminetAminet
Search:
84734 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/edit/scale2x-morphos.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Scale2x effects
Author: amadvance at users.sourceforge.net
Type:gfx/edit
Architecture:ppc-morphos
Date:2009-07-19
Download:gfx/edit/scale2x-morphos.lha - View contents
Readme:gfx/edit/scale2x-morphos.readme
Downloads:1286

                           =========================
                           Scale2x, Scale3x, Scale4x
                           =========================

Scale2x, Scale3x and Scale4x are real-time graphics effects
able to increase the size of small bitmaps guessing the
missing pixels without blurring the images.

They were originally developed for the AdvanceMAME project
in the year 2001 to improve the quality of old games running
at low video resolutions.

The specification of the algorithm and more details are at :

    http://scale2x.sourceforge.net

This package contains some implementations of the effects
in C and MMX Pentium assembler, and command line tools to
convert manually .PNG images.


1 IMPLEMENTATION
================

The files scale2x.c and scale3x.c are the fast C and MMX
implementations of the effects.

The files scalebit.c and scalebit.h are the fast C implementations
of the effects ready to be applied to a generic bitmap.
Note that the implementation of the Scale4x effect is not
obvious without using a big intermediate buffer.

The files scalerx.c is a simple command line processors,
which uses the reference implementation of the effects.

The files scalex.c is another simple command line processors,
which uses the fast implementation of the effects.


2 TOOLS
=======

The command line tools "scalerx" and "scalex" read a .PNG file
and write another .PNG file with the effect applied.
The syntax of the programs is :

    scalerx [-k N] [-w] FROM.png TO.png
    scalex [-k N] FROM.png TO.png

The option -k can be used to select the scale factor.
The option -w can be used to scale textures with a wraparound effect.

To compile the command line tool you need the libz and libpng
libraries.


3 EXAMPLES
==========

The directory example/ contains some examples of the effects applyed
to a generic image and to a test image.

The suffix of the images means :
    1 - Original image.
    2 - Scale2x effect.
    3 - Scale3x effect.
    4 - Scale4x effect.
    1x - Scaled normally 12 times.
    2x - Scale2x effect and scaled normally up to 12 times.
    3x - Scale3x effect and scaled normally up to 12 times.
    4x - Scale4x effect and scaled normally up to 12 times.

The `x' images have the same final size and can be used to compare
pixel by pixel the result of the effects.


Contents of gfx/edit/scale2x-morphos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1030    2530  40.7% -lh5- 221f Aug 31  2008 scale2x-morphos/scale2x-morphos.readme
[generic]               107114  221436  48.4% -lh5- c6c7 Aug 31  2008 scale2x-morphos/scalerx
[generic]               105469  227092  46.4% -lh5- 2284 Aug 31  2008 scale2x-morphos/scalex
[generic]                 7075   25246  28.0% -lh5- 287d Mar 15  2005 scale2x-morphos/src/aclocal.m4
[generic]                  155     335  46.3% -lh5- 4043 Aug  7  2004 scale2x-morphos/src/AUTHORS
[generic]                  236     404  58.4% -lh5- a1fd Apr 24  2003 scale2x-morphos/src/autogen.sh
[generic]                13800   43458  31.8% -lh5- 646a Dec 23  2004 scale2x-morphos/src/config.guess
[generic]                  973    3036  32.0% -lh5- 5386 Mar 15  2005 scale2x-morphos/src/config.h.in
[generic]                 9736   31467  30.9% -lh5- 7a84 Dec 23  2004 scale2x-morphos/src/config.sub
[generic]                38306  160912  23.8% -lh5- 3a86 Mar 15  2005 scale2x-morphos/src/configure
[generic]                  387     671  57.7% -lh5- 426b Mar 15  2005 scale2x-morphos/src/configure.ac
[generic]                   70      74  94.6% -lh5- 3d03 Jul 19  2004 scale2x-morphos/src/configure.darwin
[generic]                  155     269  57.6% -lh5- 5b61 Jul 24  2004 scale2x-morphos/src/configure.dos
[generic]                  157     267  58.8% -lh5- 0446 Jul 24  2004 scale2x-morphos/src/configure.windows
[generic]                 2275    6520  34.9% -lh5- 5d43 Nov 30  2002 scale2x-morphos/src/contrib/java/Scale2xImageFilter.java
[generic]                  141     212  66.5% -lh5- 461b Jan 21  2003 scale2x-morphos/src/contrib/readme.txt
[generic]                 1210    5091  23.8% -lh5- b2d5 Jan 21  2003 scale2x-morphos/src/contrib/sdl/scale2x.c
[generic]                 3759   30578  12.3% -lh5- ec14 Jan 21  2003 scale2x-morphos/src/contrib/visualc/scale2x.cpp
[generic]                 6993   17982  38.9% -lh5- dc3e Jun 22  2002 scale2x-morphos/src/COPYING
[generic]                  711    2565  27.7% -lh5- a49d Mar 22  2005 scale2x-morphos/src/doc/algorithm.d
[generic]                  885    4851  18.2% -lh5- a8cf Mar 22  2005 scale2x-morphos/src/doc/algorithm.html
[generic]                  740    2904  25.5% -lh5- 3e0a Mar 22  2005 scale2x-morphos/src/doc/algorithm.txt
[generic]                  133     179  74.3% -lh5- 880c Aug  7  2004 scale2x-morphos/src/doc/authors.d
[generic]                  198     375  52.8% -lh5- 6636 Aug  7  2004 scale2x-morphos/src/doc/authors.html
[generic]                  159     353  45.0% -lh5- 41e1 Aug  7  2004 scale2x-morphos/src/doc/authors.txt
[generic]                  779    1729  45.1% -lh5- 4cbd Mar 28  2005 scale2x-morphos/src/doc/history.d
[generic]                  852    2168  39.3% -lh5- d7c0 Mar 28  2005 scale2x-morphos/src/doc/history.html
[generic]                  814    2136  38.1% -lh5- 794e Mar 28  2005 scale2x-morphos/src/doc/history.txt
[generic]                  904    2174  41.6% -lh5- 8348 Aug  7  2004 scale2x-morphos/src/doc/readme.d
[generic]                 1109    3519  31.5% -lh5- 6aa7 Aug  7  2004 scale2x-morphos/src/doc/readme.html
[generic]                  948    2401  39.5% -lh5- dd96 Aug  7  2004 scale2x-morphos/src/doc/readme.txt
[generic]                  691    1387  49.8% -lh5- e9e6 Aug  8  2004 scale2x-morphos/src/doc/scalerx.1
[generic]                  646    1213  53.3% -lh5- 4669 Aug  8  2004 scale2x-morphos/src/doc/scalerx.d
[generic]                  848    2034  41.7% -lh5- 257b Aug  8  2004 scale2x-morphos/src/doc/scalerx.html
[generic]                  694    1517  45.7% -lh5- 93d9 Aug  8  2004 scale2x-morphos/src/doc/scalerx.txt
[generic]                  649    1246  52.1% -lh5- 3dc7 Aug  8  2004 scale2x-morphos/src/doc/scalex.1
[generic]                  592    1078  54.9% -lh5- 3952 Aug  8  2004 scale2x-morphos/src/doc/scalex.d
[generic]                  794    1616  49.1% -lh5- ccf6 Aug  8  2004 scale2x-morphos/src/doc/scalex.html
[generic]                  640    1329  48.2% -lh5- 31e7 Aug  8  2004 scale2x-morphos/src/doc/scalex.txt
[generic]                 1124    1124 100.0% -lh0- 2c1c Jul 21  2003 scale2x-morphos/src/example/mslug2-1.png
[generic]                 2167    3142  69.0% -lh5- 3d1a Mar  3  2004 scale2x-morphos/src/example/mslug2-1x.png
[generic]                 2303    2303 100.0% -lh0- 51fe Mar  3  2004 scale2x-morphos/src/example/mslug2-2.png
[generic]                 3452    4377  78.9% -lh5- dcc7 Mar  3  2004 scale2x-morphos/src/example/mslug2-2x.png
[generic]                 3314    3314 100.0% -lh0- 5942 Mar  3  2004 scale2x-morphos/src/example/mslug2-3.png
[generic]                 4684    5463  85.7% -lh5- c972 Mar  3  2004 scale2x-morphos/src/example/mslug2-3x.png
[generic]                 4337    4337 100.0% -lh0- 5275 Mar  3  2004 scale2x-morphos/src/example/mslug2-4.png
[generic]                 5949    6456  92.1% -lh5- 74dc Mar  3  2004 scale2x-morphos/src/example/mslug2-4x.png
[generic]                  181     181 100.0% -lh0- 572c Jul 21  2003 scale2x-morphos/src/example/test-1.png
[generic]                 1218    1804  67.5% -lh5- e6f4 Mar  3  2004 scale2x-morphos/src/example/test-1x.png
[generic]                  378     378 100.0% -lh0- 39c6 Mar  3  2004 scale2x-morphos/src/example/test-2.png
[generic]                 1581    2024  78.1% -lh5- 55e2 Mar  3  2004 scale2x-morphos/src/example/test-2x.png
[generic]                  552     552 100.0% -lh0- cfd6 Mar  3  2004 scale2x-morphos/src/example/test-3.png
[generic]                 1784    2155  82.8% -lh5- 19f6 Mar  3  2004 scale2x-morphos/src/example/test-3x.png
[generic]                  723     723 100.0% -lh0- 6cc9 Mar  3  2004 scale2x-morphos/src/example/test-4.png
[generic]                 1985    2192  90.6% -lh5- 8f5c Mar  3  2004 scale2x-morphos/src/example/test-4x.png
[generic]                 1824    5595  32.6% -lh5- 7924 Aug  8  2004 scale2x-morphos/src/file.c
[generic]                  634    1254  50.6% -lh5- 215d Aug 28  2003 scale2x-morphos/src/file.h
[generic]                 1198    2692  44.5% -lh5- f0ea Aug 28  2003 scale2x-morphos/src/getopt.c
[generic]                  808    2053  39.4% -lh5- c29e Mar 28  2005 scale2x-morphos/src/HISTORY
[generic]                 3752    9231  40.6% -lh5- f9e6 Dec 23  2004 scale2x-morphos/src/install-sh
[generic]                 1323    6764  19.6% -lh5- a2d3 Aug  9  2004 scale2x-morphos/src/Makefile.am
[generic]                 6708   25392  26.4% -lh5- 1e24 Mar 15  2005 scale2x-morphos/src/Makefile.in
[generic]                 3545   10587  33.5% -lh5- 3684 Dec 23  2004 scale2x-morphos/src/missing
[generic]                  693    1789  38.7% -lh5- 68a3 Sep 28  2001 scale2x-morphos/src/noautomake.sh
[generic]                  746    1596  46.7% -lh5- ef3c Aug 28  2003 scale2x-morphos/src/pixel.c
[generic]                  582    1127  51.6% -lh5- 84ce Aug 28  2003 scale2x-morphos/src/pixel.h
[generic]                  638    1234  51.7% -lh5- 3bac Aug 28  2003 scale2x-morphos/src/portable.h
[generic]                  923    2327  39.7% -lh5- bf64 Aug  7  2004 scale2x-morphos/src/README
[generic]                 4482   41989  10.7% -lh5- 7055 Aug  8  2004 scale2x-morphos/src/scale2x.c
[generic]                  926    4574  20.2% -lh5- 1876 Aug  8  2004 scale2x-morphos/src/scale2x.h
[generic]                 2319   24111   9.6% -lh5- b71a Aug  8  2004 scale2x-morphos/src/scale3x.c
[generic]                  644    1527  42.2% -lh5- d96a Aug  8  2004 scale2x-morphos/src/scale3x.h
[generic]                 3028   19269  15.7% -lh5- 8b7b Aug  8  2004 scale2x-morphos/src/scalebit.c
[generic]                  801    1603  50.0% -lh5- 1431 Aug 28  2003 scale2x-morphos/src/scalebit.h
[generic]                 3548   18970  18.7% -lh5- 7fbc Mar 15  2005 scale2x-morphos/src/scalerx.c
[generic]                 1865    4592  40.6% -lh5- d2b0 Aug  8  2004 scale2x-morphos/src/scalex.c
[generic]                  164     164 100.0% -lh0- 6562 Oct 15  1999 scale2x-morphos/src/test/basn0g01.png
[generic]                  104     104 100.0% -lh0- 9d47 Oct 15  1999 scale2x-morphos/src/test/basn0g02.png
[generic]                  145     145 100.0% -lh0- 8c82 Oct 15  1999 scale2x-morphos/src/test/basn0g04.png
[generic]                  138     138 100.0% -lh0- 7c66 Oct 15  1999 scale2x-morphos/src/test/basn0g08.png
[generic]                  167     167 100.0% -lh0- 7596 Oct 15  1999 scale2x-morphos/src/test/basn0g16.png
[generic]                  145     145 100.0% -lh0- 3650 Oct 15  1999 scale2x-morphos/src/test/basn2c08.png
[generic]                  302     302 100.0% -lh0- 0ed3 Oct 15  1999 scale2x-morphos/src/test/basn2c16.png
[generic]                  112     112 100.0% -lh0- 7e8d Oct 15  1999 scale2x-morphos/src/test/basn3p01.png
[generic]                  146     146 100.0% -lh0- efc3 Oct 15  1999 scale2x-morphos/src/test/basn3p02.png
[generic]                  216     216 100.0% -lh0- d446 Oct 15  1999 scale2x-morphos/src/test/basn3p04.png
[generic]                 1092    1286  84.9% -lh5- f241 Oct 15  1999 scale2x-morphos/src/test/basn3p08.png
[generic]                  126     126 100.0% -lh0- 5813 Oct 15  1999 scale2x-morphos/src/test/basn4a08.png
[generic]                 2206    2206 100.0% -lh0- 6573 Oct 15  1999 scale2x-morphos/src/test/basn4a16.png
[generic]                  184     184 100.0% -lh0- be0e Oct 15  1999 scale2x-morphos/src/test/basn6a08.png
[generic]                 3413    3435  99.4% -lh5- daf6 Oct 15  1999 scale2x-morphos/src/test/basn6a16.png
[generic]                  503    1440  34.9% -lh5- 9317 Aug  8  2004 scale2x-morphos/src/test/test.lst
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        92 files  398709 1053471  37.8%            Jul 18 20:44
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>