ible
professional vim user
yeah, as _wb_ mentioned to me earlier in this thread, don't use a lossless format to encode a lossy file (e.g. jpg)...
I hope intelligent image viewers will come out, that know to stop reading at 1/3 of the file because I only have SVGA resolution and the image is 4K.was kind of tedious with the load times,
Scanning dependencies of target cjpegxltool
[ 75%] Building CXX object tools/CMakeFiles/cjpegxltool.dir/cjpegxl.cc.o
/home/$USER/code/jpeg-xl/tools/cjpegxl.cc:118:42: error: expected ')'
fprintf(stderr, "cjpegxl - version " JPEGXL_VERSION "\n");
^
/home/$USER/code/jpeg-xl/tools/cjpegxl.cc:118:12: note: to match this '('
fprintf(stderr, "cjpegxl - version " JPEGXL_VERSION "\n");
^
/home/$USER/code/jpeg-xl/tools/cjpegxl.cc:126:55: error: expected ')'
" /\\ |_ e n c o d e r [" JPEGXL_VERSION "]\n\n");
^
/home/$USER/code/jpeg-xl/tools/cjpegxl.cc:125:12: note: to match this '('
fprintf(stderr,
^
2 errors generated.
make[2]: *** [tools/CMakeFiles/cjpegxltool.dir/build.make:63: tools/CMakeFiles/cjpegxltool.dir/cjpegxl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5844: tools/CMakeFiles/cjpegxltool.dir/all] Error 2
fprintf(stderr, "cjpegxl - version " JPEGXL_VERSION "\n");
fprintf(stderr, "cjpegxl - version %s \n", JPEGXL_VERSION);
fprintf(stderr, "cjpegxl - version CUSTOM_IBLE \n");
fbnil@vm1:~/CODE/C/jpeg-xl-master$ find . -type f -exec grep JPEGXL_VERSION {} /dev/null \; |grep =
./build/CMakeCache.txt:CMAKE_CXX_FLAGS:UNINITIALIZED= -DJPEGXL_VERSION=\"\" -DJXL_DEBUG_WARNING -DJXL_DEBUG_ON_ERROR
./build/CMakeCache.txt:CMAKE_C_FLAGS:UNINITIALIZED= -DJPEGXL_VERSION=\"\"
./ci.sh:JPEGXL_VERSION=${JPEGXL_VERSION:-${CI_COMMIT_SHA:0:8}}
./ci.sh:CMAKE_FLAGS="${CMAKE_FLAGS:-} -DJPEGXL_VERSION=\\\"${JPEGXL_VERSION}\\\""
fbnil@vm1:~/CODE/C$ gcc -D'JPEGXL_VERSION="1.44kb"' test.c ; ./a.out
cjpegxl - version 1.44kb
cjpegxl - version 1.44kb
fbnil@vm1:~/CODE/C$ g++ -DJPEGXL_VERSION=\"1.44kb\" concat.c && ./a.out
#include <stdio.h>
int main(void){
fprintf(stderr, "cjpegxl - version %s\n", JPEGXL_VERSION);
fprintf(stderr, "cjpegxl - version " JPEGXL_VERSION "\n");
return 0;
}
~/code/jpeg-xl$ grep JPEGXL_VERSION *
ci.sh:JPEGXL_VERSION=${JPEGXL_VERSION:-${CI_COMMIT_SHA:0:8}}
ci.sh:echo "Version: $JPEGXL_VERSION"
ci.sh:CMAKE_FLAGS="${CMAKE_FLAGS:-} -DJPEGXL_VERSION=\\\"${JPEGXL_VERSION}\\\""