Just want to confirm that the way I had the command line written
above, the jj2000-5.1-mod.jar file and the input png would have to be
in the same directory for it to work. When used in the ptconsole code
all paths are explicitly defined at run time. Did you run it that way
with all the parts in one directory?
aah I just noticed a mistake, it should read
java -classpath jj2000-5.1-mod.jar JJ2KEncoder -i 00x0y0.png -o
00x0y0.jp2 -tiles 1024 1024 -pph_tile on -rate 0.8 -Alayers 0.9 +1 -
Qtype reversible -Wlev 3 -debug
My apologies, I had both input and output the same file name above,
but that doesn't seem to be the problem.
I had this problem once before with something else, the sealing
violation could be caused by 2 apps that use the same jj2000.j2k.util,
with one in the java classpath before the other. Do you have
something else installed that may be using jj2000?
Here is a post about what sounds like the same problem.
http://kenta.blogspot.com/2005_11_01_archive.html
But he goes on the rebuild the jar such that it will not conflict.
Maybe this is what we need to do.