openjpeg/applications/codec
Antonin Descampe 27b894dd3f fixed applications/codec/CMakeLists.txt that prevented JPWL executables to be built with JPWL functionalities ; changed make all behaviour : DOC target removed from ALL 2011-04-14 10:13:25 +00:00
..
CMakeLists.txt fixed applications/codec/CMakeLists.txt that prevented JPWL executables to be built with JPWL functionalities ; changed make all behaviour : DOC target removed from ALL 2011-04-14 10:13:25 +00:00
Makefile.am re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
Makefile.nix re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
README re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
convert.c changed the directory hierarchy of the whole project. See README files for details. 2011-04-13 22:38:50 +00:00
convert.h re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
image_to_j2k.c re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +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 changed the directory hierarchy of the whole project. See README files for details. 2011-04-13 22:38:50 +00:00
j2k_to_image.c re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +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.