Official repository of the OpenJPEG project
Go to file
Mathieu Malaterre 6265dcfb11 BUG: Fix previous patch from Callum Lerwick. I have no clue what CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform) 2007-09-25 14:54:49 +00:00
CVSROOT BUG: Try to fix the shell script 2006-01-25 15:54:10 +00:00
OPJViewer Adapted the JPWL and OPJViewer code to new interface; fixed a samll bug in JPWL which created large EPBs even when null protection was specified 2007-09-07 23:16:31 +00:00
codec Fixed issues with generation of SOP marker. 2007-09-19 14:56:19 +00:00
doc ENH: Add CMake/doxygen output 2007-09-06 15:10:15 +00:00
indexer_JPIP ENH: CMake: start compiling index_create. OpenJPEG.rc update copyright year 2007-09-06 14:46:24 +00:00
j2kviewer ENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead. 2007-09-06 14:56:00 +00:00
jp3d ENH: add cmake for jp3d 2007-09-06 10:51:38 +00:00
jpwl JPWL encoding is finalized correctly into the JP2 file format; added an additional structure in opj_codestream_info, to keep a record of the written markers 2007-09-11 15:21:12 +00:00
libopenjpeg BUG: Fix previous patch from Callum Lerwick. I have no clue what CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform) 2007-09-25 14:54:49 +00:00
libs/libtiff Lighter version of libtiff uploaded (without JPEG support). 2007-07-19 15:04:39 +00:00
mj2 OpenJPEG library interface modified to retain compatibility with version 1.2. Sorry if some of you already adapted their code to the previous interface, but we want to avoid a ABI break.... 2007-09-17 15:11:20 +00:00
CMakeLists.txt BUG: Fix previous patch from Callum Lerwick. I have no clue what CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform) 2007-09-25 14:54:49 +00:00
ChangeLog BUG: Fix previous patch from Callum Lerwick. I have no clue what CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform) 2007-09-25 14:54:49 +00:00
DllOpenJPEG.dsp SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
DllOpenJPEG.sln Added support for Visual Studio 2005 2007-08-21 10:17:35 +00:00
DllOpenJPEG.vcproj Added support for Visual Studio 2005 2007-08-21 10:17:35 +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
LibOpenJPEG.sln Added support for Visual Studio 2005 2007-08-21 10:17:35 +00:00
LibOpenJPEG.vcproj Consolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to output the proper types. 2007-08-21 12:36:05 +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 ENH: CMake: start compiling index_create. OpenJPEG.rc update copyright year 2007-09-06 14:46:24 +00:00
README.cmake ENH: CMake: output all executable/libs into one single directory 2007-09-06 11:01: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...).