Official repository of the OpenJPEG project
Go to file
Giuseppe Baruffa 7dd3a5bf22 OPJViewer should now work under Linux, at least with not big j2k files. Tested under Suse 10.1 64 bit. 2007-03-30 09:27:08 +00:00
CVSROOT BUG: Try to fix the shell script 2006-01-25 15:54:10 +00:00
OPJViewer OPJViewer should now work under Linux, at least with not big j2k files. Tested under Suse 10.1 64 bit. 2007-03-30 09:27:08 +00:00
codec Enable accepting file names with `-´ symbol .Modification getopt.c 2007-03-29 14:15:14 +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 initial release of jp3d library and codec 2006-10-30 15:32:50 +00:00
jpwl Following to Hervé's suggestions, all the exit() calls, added by JPWL strict checking in t2.c and j2k.c, have been substituted with (object free'ing + opj_evt_message(EVT_ERROR) + return); added linking to TIFF library in the JPWL VC6 workspaces 2007-03-27 17:18:56 +00:00
libopenjpeg Enable accepting file names with `-´ symbol .Modification getopt.c 2007-03-29 14:15:14 +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 add an "ifdef WIN32" to "include malloc.h" to be compliant with non-WIN32 platforms. 2007-02-28 15:55:03 +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 OPJViewer should now work under Linux, at least with not big j2k files. Tested under Suse 10.1 64 bit. 2007-03-30 09:27:08 +00:00
DllOpenJPEG.dsp SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
LibOpenJPEG.dsp SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
LibOpenJPEG.dsw SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
Makefile Fixed linux makefile, with help from David Fries and Guido 2007-03-14 07:35:54 +00:00
Makefile.osx Fixed Makefile.osx and changed Readme.osx accordingly 2007-03-23 14:08:15 +00:00
OpenJPEG.rc Version 1.1 2006-12-04 15:52:19 +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

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...).