| Full description: | JPEG2000 datatype
jpeg2000.datatype: AmigaOS 4 picture datatype for JPEG 2000 (.jp2, .j2k)
images, with read and write support, by Fredrik Wikstrom.
Currently only RGB and grayscale images are supported. Since 53.1 it uses
OpenJPEG 2.3.0, statically linked, so it needs no openjpeg.library.
Versions
release/jpeg2000_dtc-53.2/ is the latest release, 53.2 (2017-12-22):
write support and alpha channel support.
release/jpeg2000_dtc-53.1/ is the 53.1 release (2017-12-21): the rewrite
using OpenJPEG 2.3.0.
src/ has one change after 53.2, listed in src/releasenotes as
"53.3 (xx.xx.2017)": masking is set to mskHasAlpha when an alpha channel is
available. The version string in the source still says 53.2.
Installation
Run the Install script in release/jpeg2000_dtc-53.2/, or by hand from
that folder:
copy jpeg2000.datatype SYS:Classes/DataTypes/
copy J2K J2K.info JP2 JP2.info DEVS:DataTypes/
release/AutoInstall is the AmiUpdate install script.
Building
src/makefile cross-compiles with ppc-amigaos-gcc (make in src/),
building OpenJPEG from src/openjpeg-2.3.0/ into the datatype, and writes
jpeg2000.datatype (stripped) and jpeg2000.datatype.debug. The J2K and
JP2 descriptors are made from J2K.desc and JP2.desc with
REXX:MakeDT.rexx on AmigaOS. Other targets: clean and revision.
Contents
src/: the datatype source (read_jp2k.c, write_jp2k.c, the class in
jp2k_class.c), the descriptor sources, the makefile and the release
notes.
src/openjpeg-2.3.0/: the OpenJPEG library, under the 2-clause BSD
license (see src/openjpeg-2.3.0/LICENSE; the releases include it as
LICENSE-openjpeg).
release/: the 53.1 and 53.2 releases and the AmiUpdate script.
contributors.txt: Fredrik Wikstrom (salass00), original jpeg2000.datatype
implementation.
History
Developed by Fredrik Wikstrom (versions 0.1 and 0.2 in 2008, rewritten as
53.1 and 53.2 in 2017) and kept in the OpenAmiga.org Subversion repository
from 2008. Moved to GitHub in November 2026, with its full commit history. |