summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-09-28 09:12:22 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-09-28 09:12:22 +0000
commit3bf4d635f2401f5749c33aa4bac0b5268e687008 (patch)
tree421ac9e9d0da117d65997a523bf7aa4e1076a603 /src/bin
parenta4fa18e92df6592d16dcc18205571aea0ae9c0c9 (diff)
[trunk] FolderReorgProposal task: rename cli tools
Update issue 177
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jp2/CMakeLists.txt8
-rw-r--r--src/bin/jp2/README8
-rw-r--r--src/bin/jp2/opj_compress.c (renamed from src/bin/jp2/image_to_j2k.c)0
-rw-r--r--src/bin/jp2/opj_decompress.c (renamed from src/bin/jp2/j2k_to_image.c)0
-rw-r--r--src/bin/jp2/opj_dump.c (renamed from src/bin/jp2/j2k_dump.c)0
5 files changed, 4 insertions, 12 deletions
diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
index 5e77765e..f25b8470 100644
--- a/src/bin/jp2/CMakeLists.txt
+++ b/src/bin/jp2/CMakeLists.txt
@@ -27,7 +27,7 @@ if(WIN32)
endif()
# Loop over all executables:
-foreach(exe j2k_to_image image_to_j2k j2k_dump)
+foreach(exe opj_decompress opj_compress opj_dump)
add_executable(${exe} ${exe}.c ${common_SRCS})
target_link_libraries(${exe} ${OPENJPEG_LIBRARY_NAME}
${PNG_LIBNAME} ${TIFF_LIBNAME} ${LCMS_LIBNAME}
@@ -52,9 +52,9 @@ endforeach()
# Install man pages
install(
- FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man1/image_to_j2k.1
- ${OPENJPEG_SOURCE_DIR}/doc/man/man1/j2k_dump.1
- ${OPENJPEG_SOURCE_DIR}/doc/man/man1/j2k_to_image.1
+ FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man1/opj_compress.1
+ ${OPENJPEG_SOURCE_DIR}/doc/man/man1/opj_decompress.1
+ ${OPENJPEG_SOURCE_DIR}/doc/man/man1/opj_dump.1
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man1)
#
diff --git a/src/bin/jp2/README b/src/bin/jp2/README
deleted file mode 100644
index 80049980..00000000
--- a/src/bin/jp2/README
+++ /dev/null
@@ -1,8 +0,0 @@
-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. \ No newline at end of file
diff --git a/src/bin/jp2/image_to_j2k.c b/src/bin/jp2/opj_compress.c
index 343ea557..343ea557 100644
--- a/src/bin/jp2/image_to_j2k.c
+++ b/src/bin/jp2/opj_compress.c
diff --git a/src/bin/jp2/j2k_to_image.c b/src/bin/jp2/opj_decompress.c
index 7edb3c9b..7edb3c9b 100644
--- a/src/bin/jp2/j2k_to_image.c
+++ b/src/bin/jp2/opj_decompress.c
diff --git a/src/bin/jp2/j2k_dump.c b/src/bin/jp2/opj_dump.c
index 6c63c2ca..6c63c2ca 100644
--- a/src/bin/jp2/j2k_dump.c
+++ b/src/bin/jp2/opj_dump.c