openjpeg/applications/codec
Antonin Descampe d1d662768d removed obsolete testing directory and *.nix files 2011-08-16 09:28:37 +00:00
..
CMakeLists.txt added new decoding/dump tests based on data found in input/nonregresion repository (remove JPEG2000_CONFORMANCE_DATA_ROOT variable, add REF_DECODER_BIN_PATH variable for the encoder test suite). Remove definitively old tests 2011-07-27 12:45:04 +00:00
Makefile.am fixed autotools (broken since the new directory structure) and added autotools as a build method for jpip (credit to Vincent Torri) 2011-05-23 20:30:20 +00:00
README re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
convert.c fixed wrong patch with the return value of fgets into convert.c file 2011-08-11 08:21:28 +00:00
convert.h defined new type "opj_bool", and new constants OPJ_FALSE and OPJ_TRUE, to avoid having to deal with "stdbool.h" (patch from Winfried) 2011-05-18 11:02:27 +00:00
image_to_j2k.c solve some obvious warnings for WIN platform, increase number of warning reported on the dashboard, correct last warnings with gcc 4.4 (-Wall) 2011-07-29 08:50:55 +00:00
index.c re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
index.h re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
j2k_dump.c removed unused parameters warnings with the solution proposed by myself and Bob Friesenhahn 2011-08-10 08:12:10 +00:00
j2k_to_image.c solve some obvious warnings for WIN platform, increase number of warning reported on the dashboard, correct last warnings with gcc 4.4 (-Wall) 2011-07-29 08:50:55 +00:00
windirent.h re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00

README

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 either use the provided Makefile or use one of the following commands to build an encoder and decoder respectively:

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

You should add '-L..' to those lines if you did not use the 'install' target when building the library.