openjpeg/applications/codec
Mickael Savinaud 2808de6084 [trunk] WIP: manage output image with area correponding to the set decoded area 2011-10-21 16:38:08 +00:00
..
CMakeLists.txt renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried. 2011-09-01 11:24:08 +00:00
Makefile.am renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried. 2011-09-01 11:24:08 +00:00
README re-organization of openjpeg directories hierarchy : step 1 2011-04-13 21:01:39 +00:00
convert.c [trunk] WIP: solve problem with writing of tga image from an image with signd=1 (credit to Winfried) 2011-10-19 13:18:06 +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 -J option for -jpip added into the option list 2011-10-11 13:01:38 +00:00
index.c [trunk] WIP: add basis for a new output management of the codestream information and index 2011-09-27 12:14:11 +00:00
index.h [trunk] WIP: add basis for a new output management of the codestream information and index 2011-09-27 12:14:11 +00:00
j2k_dump.c [trunk] WIP: correct some memory leaks in applications functions 2011-10-12 14:42:21 +00:00
j2k_to_image.c [trunk] WIP: manage output image with area correponding to the set decoded area 2011-10-21 16:38:08 +00:00
windirent.h renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried. 2011-09-01 11:24:08 +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.