Logo10.8.68.229 
  News  Recent  Stats  Forums  Discord  GitHub  Contact
  Menu
 Username

 Password


   Register here

 Main menu
   BBCode test
 
 Content
   Using GitHub
   Version strings
   List Content
 
 Projects
   All projects
  View project
[All projects][View on GitHub][Git Log]
Name:OpenJPEG-library
Short description:openjpeg.library: AmigaOS 4 shared library wrapping the OpenJPEG 1.3 JPEG 2000 codec, by Fredrik Wikstrom
Visibility:Private
Last updated:2026-11-20 08:19
Languages:C 98.5%, Makefile 1.0%, CMake 0.3%, SWIG 0.2%
License:None

OpenJPEG-library

openjpeg.library: AmigaOS 4 shared library wrapping the OpenJPEG 1.3 JPEG 2000 codec, by Fredrik Wikstrom. Based on Stephan Matzke's port of OpenJPEG 1.3. openjpeg.library is an OpenAmiga.org project.

Version 52.5 (2009-12-20).

The OpenJPEG library is an open-source JPEG 2000 codec written in C. Older versions of icns.datatype and jpeg2000.datatype use openjpeg.library; jpeg2000.datatype 53.1 and later link OpenJPEG statically instead.

Download: openjpeg_lib.lha on OS4Depot (the library, version 52.5).

Layout

  • src/: the library wrapper (init.c, openjpeg_vectors.c), the interface description openjpeg.xml, the SDK includes in src/include/ and the makefile.
  • src/openjpeg/: OpenJPEG 1.3.0 (libopenjpeg/) with JPWL (jpwl/), under the BSD license in src/openjpeg/license.txt.
  • release/: the built library, the AmiUpdate script and the readme with the change history.
  • contributors.txt: Fredrik Wikstrom (salass00), original openjpeg.library implementation.

Installation

Copy release/openjpeg.library to LIBS:. For developers: copy everything in src/include/ to SDK:Local/common/include/.

release/AutoInstall is the AmiUpdate install script.

Building

src/Makefile builds with GCC (gcc -mcrt=newlib, -DUSE_JPWL): type make in src/. It writes openjpeg.library to release/. Other targets: install, clean and revision. The library interface is described in src/openjpeg.xml.

Design notes

From the readme:

The extended fields (jpwl) of the opj_cparameters_t and opj_dparameters_t structures are only available when using the v2 main interface. Also you will need to compile your code using "-DUSE_JPWL".

Developers writing programs for the v2 interface should use these functions for allocating and freeing these structures:

  • opj_create_cparameters
  • opj_create_dparameters
  • opj_destroy_cparameters
  • opj_destroy_dparameters

Version 1 of the main interface is backwards compatible and will continue to work as before except that there is now JPWL format support in the code.

History

Developed by Fredrik Wikstrom (versions 52.1 to 52.5, 2008-2009) and kept in the OpenAmiga.org Subversion repository in 2009. Moved to GitHub in November 2026, with its full commit history.

Open Amiga project website, Created in 2008 by Björn Hagström