[go: up one dir, main page]

Skip to content

Converts RGB images (png, jpeg, etc.) to IFF/ILBM files tailored for Amiga OCS/ECS (Amiga 1000, 2000, 3000, 500, 500+, 600).

License

Notifications You must be signed in to change notification settings

Pixinn/rgb2amiga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amiga2rgb is a small program to convert modern RGB images (jpeg, png, etc.) to an IFF/ILMB tailored for the Amiga 500.

How to use

Rgb2Amiga [-p] [-d] [-s ] [-c ] -o -i [--] [--version] [-h]

Where:

*   -f <format slection>,  --format <format slection>
	Save as iff-ilbm (default) or png-gpl (PNG + Gimp palette).

*   p <scale>,  --preview <scale>
 	        Open a window to display a scaled preview. Defaults to no preview.

*  -d,  --dither	
	Use dithering.

*   -s <string>,  --size <string>
	Targeted size in WidthxHeight format. Defaults to "320x256"
	Optionnal suffix: '!' ignore the original aspect ratio.

*   -c <string>,  --colors <string>		
	Number of colors to use. Defaults to "32".
	
*   -o <string>,  --output <string> (accepted multiple times)
	(required)  Output file.

*   -i <string>,  --input <string> (accepted multiple times)
	(required)  Input file to process.

*   --,  --ignore_rest
	Ignores the rest of the labeled arguments following this flag.

*   --version
	Displays version information and exits.

*   -h,  --help
	Displays usage information and exits.

You can provide multiple input images. If so, the output images will all share the same palette.

How to build

Dependencies

  • Magick++ from ImageMagick 6 and SDL2
    • On Windows

      • ImageMagick
      • Download ImageMagick 6 from the official website.
      • Compile it in Dynamic Multithreaded.
      • Provide an environment variable called MAGICK_HOME and pointing to the root folder of ImageMagick.
      • Copy ImageMagick-config from the script/ folder to MAGICK_HOME.
    • SDL2

      • Download the latest version of the development library from the official website and unarchive it.
      • Provide an environment variable called SDL2_HOME and pointing to the root of the SDL2 library.
    • On Linux, install libmagick++-dev for version 6 and libsdl2-dev

      sudo apt install libmagick++-6.q16-dev libsdl2-dev

Build the binary

A CMakeList is provided:

mkdir build

cd build

cmake .. -DCMAKE_BUILD_TYPE=Release

cmake --build . --config release

About

Converts RGB images (png, jpeg, etc.) to IFF/ILBM files tailored for Amiga OCS/ECS (Amiga 1000, 2000, 3000, 500, 500+, 600).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published