openjpeg/applications/codec
Mathieu Malaterre 20beb093a1 [trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track them
As a side effect, fix all comment style to remove extra gcc output

Fixes issue 173
2012-09-10 09:04:47 +00:00
..
CMakeLists.txt [trunk] Remove CMake-language block-end command arguments 2012-08-30 17:20:03 +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] The two files in Issue145 have a precision < 8-bit: 2012-05-29 13:55:49 +00:00
convert.h [trunk] Add new behavior for codecs. Now supports little endian RAWL format. It is now possible to encode directly little endian raw file, by simply using the rawl extension. Code has been modified to use strcasecmp instead of strncasecmp to cope with 4 letters files extensions. 2012-05-29 09:30:03 +00:00
image_to_j2k.c free local memory in image_to_j2k application 2012-08-16 12:03:20 +00:00
index.c [trunk] Fix invalid truncation from off_t to int (thanks to -Wconversion for report) 2012-03-19 14:24:26 +00:00
index.h [trunk] Convert from DOS eol to UNIX eol 2012-03-02 09:55:28 +00:00
j2k_dump.c [trunk] COMP: Fix one warning identified by clang31 : 2012-08-30 16:34:17 +00:00
j2k_to_image.c [trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track them 2012-09-10 09:04:47 +00:00
windirent.h [trunk] Convert from DOS eol to UNIX eol 2012-03-02 09:55:28 +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.