Extract image and text from PDF file by mupdf
$ gcc -c libpdf.c -I../../include
$ gcc -shared -o libpdf.dll libpdf.o -L/d/dev/mupdf/build/debug/ -lmupdf -lz -lopenjpeg -ljpeg -ljbig2dec -lfreetype \ -lmupdf-js-none
c:\\> gcc -o libpdf.exe libpdf.o -L/d/dev/mupdf/build/debug/ -lmupdf -lz -lopenjpeg -ljpeg -ljbig2dec -lfreetype -lmupdf-js -none
- As you can see, this worked both on Windows and linux. and sucessfully called by .Net
this code use the orginal license as mupdf does. mupdf-1.3 compiled by: make build=release NOX11=yes