Blob Blame History Raw
--- ./f.pixmap.cc.orig	2021-07-10 19:55:06.790694310 +0100
+++ ./f.pixmap.cc	2021-07-10 19:55:27.744854925 +0100
@@ -3597,7 +3597,7 @@ PXB * JP2_PXB_load(cchar *file)
    if (! pp) goto errret;
    strcpy(pp,".tif");
 
-   err = zshell(0,"opj_decompress -i \"%s\" -o \"%s\" >/dev/null 2>1",file,tiffile);
+   err = zshell(0,"opj2_decompress -i \"%s\" -o \"%s\" >/dev/null 2>1",file,tiffile);
 
    if (zdm) zdialog_free(zdm);
    if (err) goto errret;
@@ -3641,7 +3641,7 @@ PXM * JP2_PXM_load(cchar *file)
    if (! pp) goto errret;
    strcpy(pp,".tif");
    
-   err = zshell(0,"opj_decompress -i \"%s\" -o \"%s\" >/dev/null 2>1",file,tiffile);
+   err = zshell(0,"opj2_decompress -i \"%s\" -o \"%s\" >/dev/null 2>1",file,tiffile);
 
    if (zdm) zdialog_free(zdm);
    if (err) goto errret;
--- ./fotoxx.cc.orig	2021-07-10 19:54:15.322299800 +0100
+++ ./fotoxx.cc	2021-07-10 19:54:37.556470227 +0100
@@ -404,7 +404,7 @@ int main(int argc, char *argv[])
    err = zshell(0,"which heif-convert >/dev/null 2>&1");                         //  file.heic to .jpg converter
    if (! err) Fheif = 1;
 
-   err = zshell(0,"which opj_decompress >/dev/null 2>&1");                       //  file.jp2 to .tif converter
+   err = zshell(0,"which opj2_decompress >/dev/null 2>&1");                       //  file.jp2 to .tif converter
    if (! err) Fjp2 = 1;
 
    err = zshell(0,"which dwebp >/dev/null 2>&1");                                //  file.webp to .tif converter 
@@ -490,7 +490,7 @@ int main(int argc, char *argv[])
    Ftinycomputer = 0;                                                            //  flag, inadequate memory
    if (freememory < 4000) {                                                      //  4 GB threshhold
       Ftinycomputer = 1;
-      Plog(1,"computer has inadequate memory \n");
+      Plog(1,"computer has inadequate memory, only %.0f MB, we recommend 4000 MB\n", freememory);
    }
 
    Plog(1,"image size limits for reasonable performance: \n");