![[All projects]](images/buttons/All%20projects.gif) ![[View on GitHub]](images/buttons/View%20on%20GitHub.gif) ![[Git Log]](images/buttons/Git%20Log.gif) | Name: | Targa-datatype | | Short description: | targa.datatype: AmigaOS 4 picture datatype for Truevision Targa (.tga) files, by Fredrik Wikstrom | | Visibility: | Private | | Last updated: | 2026-11-20 08:19 | | Languages: | C 97.1%, Makefile 2.9% | | License: | None |
Targa-datatype
targa.datatype: AmigaOS 4 picture datatype for Truevision Targa (.tga)
files, by Fredrik Wikstrom. targa.datatype is an
OpenAmiga.org project.
Download: targa_dt.lha on OS4Depot (the datatype, version 0.4).
Layout
src/: the datatype source (read_targa.c, write_targa.c, the class in
targa_class.c), the descriptor source Targa.desc, the makefile and the
release notes.
release/: the 0.3 release and the AmiUpdate script.
contributors.txt: Fredrik Wikstrom (salass00), original targa.datatype
implementation.
Versions
src/ is version 53.1 (2017-12-22): the source rewritten and cleaned up,
built with GCC, with support for the top-left origin flag. Write support was
started in 2017 but is disabled (#if 0, "FIXME: Implement write support"
in targa_class.c).
release/targa_dtc-0.3/ is the old 0.3 release (2006). Its readme already
lists the 0.4 change (alpha channel masking), but the binary says 0.3.
src/releasenotes has the change history.
Installation
For the 0.3 release:
- copy
release/targa_dtc-0.3/Targa (and Targa.info) to
DEVS:DataTypes/
- copy
release/targa_dtc-0.3/targa.datatype to SYS:Classes/DataTypes/
or run its Install script. release/AutoInstall is the AmiUpdate install
script.
Building
src/makefile cross-compiles with ppc-amigaos-gcc (make in src/) and
writes targa.datatype (stripped) and targa.datatype.debug. The Targa
target makes the descriptor from Targa.desc with REXX:MakeDT.rexx on
AmigaOS. Other targets: clean and revision.
History
Developed by Fredrik Wikstrom (versions 0.1 to 0.4 in 2006, rewritten as 53.1
in 2017-2018) and kept in the OpenAmiga.org Subversion repository from 2008.
Moved to GitHub in November 2026, with its full commit history. |