💾 Archived View for cugi.ie › aminet › 1721005540.gmi captured on 2024-08-31 at 13:16:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
Author: at nanochess (Oscar Toledo G.) Uploader: polluks+aminet sdf org (Stefan Haubenthal) Type: gfx/conv Architecture: ppc-morphos; m68k-amigaos Date: 2024-07-14 Readme: http://aminet.net/gfx/conv/TMSColor.readme Downloads: 5
http://aminet.net/gfx/conv/TMSColor.lha
TMSColor: Converter from BMP to TMS9928 format
2.3 Jul/01/2024 by Oscar Toledo G. http://nanochess.org
Usage:
tmscolor [options] image.bmp image.asm [label]
Creates image for use with assembler code
-b Generates CVBasic source code.
-n Removes CVBasic stub code for displaying.
-z Output file is compressed with Pletter.
-s Process tiles in chunks of 16 pixels high (sprites).
-sb Same as above but generates BITMAP statements.
-t Generates minimum of tiles required.
-t1 Same but starting at tile 1 (0-255).
-e45d2 Replaces color 4 with 5 and d with 2 before processing.
-fx Flip image along the X-coordinate (mirror)
-fy Flip image along the Y-coordinate
-m Generates magic sprites for areas with more than 2 colors
-p1 Searchs best color combination for photo (slow)
-p2 Searchs best color combination for photo (2x2 dither) (slow)
-o result.bmp
Outputs the final image, plus highlight of errors (if any).
-d Direct copy of binary input file to output (can compress).
Useful for getting binary data in ASM or CVBasic code.
Best photo conversion is generated by this command line:
tmscolor -p2 photo.bmp photo.bin
Photos will look better if the contrast is good.
Magic sprites will work only with an image of 256x192 pixels.
Thanks to LeandroCorreia for ideas of color conversion.
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ---------- [generic] 20 20 100.0% -lh0- 0695 Jul 1 21:43 TMSColor/.gitignore [generic] 757 1389 54.5% -lh5- f767 Jul 1 21:43 TMSColor/LICENSE.txt [generic] 144 199 72.4% -lh5- 77fd Jul 1 21:43 TMSColor/Makefile [generic] 3212 11277 28.5% -lh5- 9900 Jul 1 21:43 TMSColor/pletter.c [generic] 1056 2092 50.5% -lh5- 60b0 Jul 1 21:43 TMSColor/README.md [generic] 10740 54836 19.6% -lh5- 0a1e Jul 1 21:43 TMSColor/tmscolor.c [generic] 158 12342 1.3% -lh5- 0323 Jul 1 21:43 TMSColor/vdp_colors.bmp [generic] 46984 83864 56.0% -lh5- 6b72 Jul 14 12:35 TMSColor/tmscolor [generic] 27971 49272 56.8% -lh5- dbb2 Jul 14 12:41 TMSColor/tmscolor.68k [generic] 94 105 89.5% -lh5- d73b Jul 14 12:40 TMSColor/SCOPTIONS ---------- ----------- ------- ------- ------ ---------- ------------ ---------- Total 10 files 91136 215396 42.3% Jul 15 01:05
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>