• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..28-Mar-2014-

CMakeLists.txtH A D28-Mar-20143 KiB118100

Makefile.amH A D28-Mar-20143.1 KiB119108

READMEH A D28-Mar-2014578 86

convert.cH A D28-Mar-201488.9 KiB3,6082,865

convert.hH A D28-Mar-20143.4 KiB8324

image_to_j2k.cH A D28-Mar-201459.1 KiB1,8201,417

index.cH A D28-Mar-201415.5 KiB392310

index.hH A D28-Mar-20141.9 KiB5010

j2k_dump.cH A D28-Mar-201419.5 KiB685493

j2k_to_image.cH A D28-Mar-201424.9 KiB862621

windirent.hH A D28-Mar-201421.8 KiB680330

README

1Simple codec compilation
2------------------------
3Once 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:
4
5gcc index.c convert.c image_to_j2k.c -o image_to_j2k -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
6gcc index.c convert.c j2k_to_image.c -o j2k_to_image -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
7
8You should add '-L..' to those lines if you did not use the 'install' target when building the library.