Official repository of the OpenJPEG project
Go to file
Giuseppe Baruffa 4a50efe542 Fixed a bug in JPWL module, which prevented to exploit the full error correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450) 2007-07-12 08:31:01 +00:00
CVSROOT BUG: Try to fix the shell script 2006-01-25 15:54:10 +00:00
OPJViewer Previous, home, and next frame buttons for exploring MJ2 files in OPJViewer 2007-06-21 14:00:32 +00:00
codec Fixed the generation of index files. Now works with cinema formats. 2007-06-15 13:27:43 +00:00
doc Definition of USE_JPWL in doxygen file for building the corresponding documentation on JPWL module; creation of README file in JPWL directory 2006-12-13 11:50:24 +00:00
indexer_JPIP USAGE-statement updated 2004-07-16 10:39:06 +00:00
j2kviewer Initial revision 2004-02-17 16:33:43 +00:00
jp3d JP3D library Binaries removed from SVN. 2007-05-10 14:34:05 +00:00
jpwl Fixed a bug in JPWL module, which prevented to exploit the full error correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450) 2007-07-12 08:31:01 +00:00
libopenjpeg Fixed a bug in JPWL module, which prevented to exploit the full error correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450) 2007-07-12 08:31:01 +00:00
libs/libtiff Enabled compression of TIF image format to j2k by tifftoimage() and decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h 2007-02-28 15:31:56 +00:00
mj2 MJ2 codec updated from LibOpenJPEG version 0.97 to LibOpenJPEG version 1. Hence, the MJ2 codec will now take advantage of all the improvements and optimizations done on the LibOpenJPEG library. 2007-05-10 14:21:09 +00:00
CMakeLists.txt ENH: Update CMake to do proper installation. Still using the 2.2 installation approach for now. 2006-07-22 03:47:02 +00:00
ChangeLog Fixed a bug in JPWL module, which prevented to exploit the full error correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450) 2007-07-12 08:31:01 +00:00
DllOpenJPEG.dsp SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
LibOpenJPEG.dsp Patch suggested by Callum Lerwick <seg@haxxed.com>: "This patch makes the t1 LUTs static. I actually intend this as a prelude to possibly eliminating some or all of the LUTs entirely." 2007-05-21 09:44:10 +00:00
LibOpenJPEG.dsw SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
Makefile Release of version 1.2.0 2007-06-04 13:27:25 +00:00
Makefile.osx changed the dylib-version to 1.2.0 2007-06-05 09:00:34 +00:00
OpenJPEG.rc Version 1.1 2006-12-04 15:52:19 +00:00
README.cmake ENH: add basic instructions for cmake 2007-04-26 09:08:10 +00:00
README.linux Fixed linux makefile, with help from David Fries and Guido 2007-03-14 07:35:54 +00:00
README.msvc minor change : project replaced by workspace 2006-02-02 13:15:21 +00:00
README.osx Fixed Makefile.osx and changed Readme.osx accordingly 2007-03-23 14:08:15 +00:00
clean.bat fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL 2006-01-31 21:26:11 +00:00
license.txt Included the license in a distinct file, which allows other projects using OpenJPEG to 2007-04-04 06:19:26 +00:00

README.osx

Release Notes
--------------
This version of the library has been tested under OSX 10.3 using gcc 3.3.

While the makefiles will make a .dylib and a .a, it is recommended to simply staticly link with the .a file.

Installation
------------
Note: You will need to have root privileges in order to install the library in
/usr/include and /usr/lib directories.
The installation process is as simple as this : 
1) Enter the OpenJPEG directory
2) Build the distribution : 
make osx
make osxinstall
3) Clean all files produced during the build process
make osxclean

Simple codec compilation
------------------------
Once you've built the library, you might want to test it with a basic codec. To do this, go to the codec directory and use one of the following commands to build an encoder and decoder respectively:

gcc convert.c image_to_j2k.c -o image_to_j2k -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
gcc convert.c j2k_to_image.c -o j2k_to_image -lopenjpeg -I ../libopenjpeg/ -lm -ltiff

You should add '-L..' and to those lines if you did not use the 'install' target (and the 'clean' target neither...).