domingo, 9 de mayo de 2021

RastaConverter

RastaConverter para Linux:

rastaconv ~/Downloads/vtennis.png /threads=8 /s=1000
./rastaconv ~/Downloads/pitkat1.png /threads=8 /s=1000 /pal=../Palettes\altirra.act

prerequisite: 

sudo apt update && apt install build-essential g++
sudo apt install libfreeimage3 libfreeimage-dev
sudo apt install liballegro4.4 liballegro4-dev allegro4-doc

make

https://github.com/ilmenit/RastaConverter


Mac OS

The correct version is Allegro 4. In v5 they broke backward compatibility.

brew install freeimage

RastaConverter Windows:

https://atariage.com/forums/topic/229467-rasterconverter-windows-binaries/

RastaConverter.exe vtennis.png /filter=box /h=200 /pal=palettes\altirra.act /dither=chess /init=smart /s=1 /distance=euclid

start RastaConverter.exe test.jpg /dither=knoll /details=test-details.png

RastaConverter.exe c64.png /filter=box /h=200 /pal=palettes\laoo.act

The converter uses Late Acceptance Hill Climbing algorithm: https://web.archive.org/web/20150225171429/http://www.cs.nott.ac.uk/~yxb/LAHC




No hay comentarios.:

Publicar un comentario