Files
AmigaExamples/001.simple_image/README.md
T
2016-03-14 13:24:13 +11:00

26 lines
1.0 KiB
Markdown

display a simple image
======================
Building on [trackdisk.device](../000.trackdisk), we now display a simple color image.
I display a 5 bitplane (32 color) low res image.
The image data is prepared using a new tool I wrote called [imagecon](../tools/imagecon/imagecon.c). This takes (almost) any 320x256 PNG and using [libimagequant](https://pngquant.org/lib/) it reduces the palette to 32 colors, then dumps out the copper list and interleaved bitplane data ready to be included into [image.s](image.s).
The original version of this example used [vilcans amiga-startup](https://github.com/vilcans/amiga-startup) as a starting point, however almost all of that code has been replaced as my understanding expanded.
screenshot
----------
![Screenshot](screenshot.png?raw=true)
original image
--------------
![Original](../assets/quake.png?raw=true)
try it
------
* [Download disk image](bin/image.adf?raw=true)
* <a href="http://alpine9000.github.io/ScriptedAmigaEmulator/#amiga_examples/image.adf" target="_blank">Run in SAE</a>