--- enc_jpeg2000.c.orig 2014-01-07 09:43:18.000000000 +0900 +++ enc_jpeg2000.c 2016-11-15 16:37:54.000000000 +0900 @@ -121,7 +121,7 @@ image.clrspc_=JAS_CLRSPC_SGRAY; /* grayscale Image */ image.cmprof_=0; #endif - image.inmem_=1; +// image.inmem_=1; cmpt.tlx_=0; cmpt.tly_=0;