openjpeg/applications/codec
2011-11-01 23:28:07 +00:00
..
CMakeLists.txt backport r898 to r907 in openjpeg-1.5 branch 2011-09-01 12:08:10 +00:00
convert.c backport rev 1013-1014 from trunk 2011-10-19 15:45:03 +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 [1.5] backport revisions 996, 997, 1000, 1008-1012 from trunk (JPIP modifications) 2011-11-01 23:28:07 +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 [1.5] remove obvious memory leak from applications 2011-10-20 16:36:45 +00:00
j2k_to_image.c [1.5] remove obvious memory leak from applications 2011-10-20 16:36:45 +00:00
Makefile.am backport r898 to r907 in openjpeg-1.5 branch 2011-09-01 12:08:10 +00:00
README re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
windirent.h backport r898 to r907 in openjpeg-1.5 branch 2011-09-01 12:08:10 +00:00

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.