--- g2clib-1.4.0/enc_jpeg2000.c.orig 2012-02-15 22:54:35.000000000 +0900 +++ g2clib-1.4.0/enc_jpeg2000.c 2016-11-15 15:30:51.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;