diff --git a/CHANGES b/CHANGES index 5f417dfe..50534667 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ What's New for OpenJPEG October 10, 2011 * [vincent] fix 'distcheck' rule * [antonin] modified indexer for JPIP, JPP-stream +! [kaori] change -v option was reactivated for JPIP October 7, 2011 + [mickael] enhance non regression test suite generation (and some test names). It is based on a file as encoder previously. diff --git a/applications/codec/image_to_j2k.c b/applications/codec/image_to_j2k.c index 4ab7445b..93d0c6ff 100644 --- a/applications/codec/image_to_j2k.c +++ b/applications/codec/image_to_j2k.c @@ -591,7 +591,7 @@ int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *parameters, }; /* parse the command line */ - const char optlist[] = "i:o:r:q:n:b:c:t:p:s:SEM:x:R:d:T:If:P:C:F:" + const char optlist[] = "i:o:r:q:n:b:c:t:p:s:SEM:x:R:d:T:If:P:C:F:v:" #ifdef USE_JPWL "W:" #endif /* USE_JPWL */ diff --git a/applications/jpip/CHANGES b/applications/jpip/CHANGES index b86a3451..34fa3cfc 100644 --- a/applications/jpip/CHANGES +++ b/applications/jpip/CHANGES @@ -5,9 +5,12 @@ What's New for OpenJPIP ! : changed + : added +October 11, 2011 ++ [antonin] enable JPT-stream request from client viewer option (credit to kaori) + October 10, 2011 -- [antonin] removed obsolete indexer utility -+ [antonin] enabled JPP-stream +- [antonin] removed obsolete indexer utility (credit to kaori) ++ [antonin] enabled JPP-stream (credit to kaori) September 16, 2011 + [kaori] enabled stateless requests from the opj_viewers diff --git a/applications/jpip/README b/applications/jpip/README index 72796460..0bd22fda 100644 --- a/applications/jpip/README +++ b/applications/jpip/README @@ -103,11 +103,12 @@ Client: % ../opj_dec_server 2. Open image viewers (as many as needed) - % java -jar opj_viewer.jar http://hostname/myFCGI JP2_filename.jp2 [stateless] + % java -jar opj_viewer.jar http://hostname/myFCGI JP2_filename.jp2 [stateless/session] [jptstream/jppstream] ( The arguments - http://hostname/myFCGI is the HTTP server URI (myFCGI refers to opj_server by the server setting) - JP2_filename.jp2 is the name of a JP2 file available on the server. - - stateless if stateless request is desired, otherwise session request is implemented + - request type stateless for no caching, session (default) for caching + - return media type, JPT-stream tile based stream, or JPP-stream (default) precinct based stream Image viewer GUI instructions: Scale up request: Enlarge the window ROI request: Select a region by mouse click and drag, then click inside the red frame of the selected region @@ -125,7 +126,11 @@ Client: ---------- An example to encode a TIF image "copenhague1.tif" at resolution 4780x4050, 8bit/pixel, grayscale. - % ./image_to_j2k -i copenhague1.tif -o copenhague1.jp2 -p RPCL -c [64,64] -t 640,480 -jpip + % ./image_to_j2k -i copenhague1.tif -o copenhague1.jp2 -p RPCL -c [64,64] -t 640,480 -jpip -v R + + options + -jpip : embed index table box into the output JP2 file (obligation for JPIP) + -v R : partition a tile into tile parts of different resolution levels (obligation for JPT-stream)