Re: Issue with GM through JNI
Tianyu Lang <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <CABR2W4861XODVzimH0tDwLvpNsrK4BS922ZNL1M8eVjoAiqZpA@mail.gmail.com> |
Sorry, here is the output of "gm version" GraphicsMagick 1.3.26 2017-07-04 Q8 http://www.GraphicsMagick.org/ Copyright (C) 2002-2017 GraphicsMagick Group. Additional copyrights and licenses apply to this software. See http://www.GraphicsMagick.org/www/Copyright.html for details. Feature Support: Native Thread Safe yes Large Files (> 32 bit) yes Large Memory (> 32 bit) yes BZIP no DPS no FlashPix no FreeType no Ghostscript (Library) no JBIG no JPEG-2000 yes JPEG yes Little CMS yes Loadable Modules no OpenMP yes (201107) PNG yes TIFF yes TRIO no UMEM no WebP yes WMF no X11 no XML no ZLIB yes Host type: x86_64-unknown-linux-gnu Configured using the command: ./configure '--enable-shared=yes' '--without-bzlib' '--without-dps' '--without-fpx' '--without-ttf' '--without-gslib' '--without-gs-font-dir' '--without-jbig' '--without-lzma' '--without-perl' '--without-trio' '--without-windows-font-dir' '--without-wmf' '--without-x' '--without-xml' Final Build Parameters: CC = gcc -std=gnu99 CFLAGS = -fopenmp -g -O2 -Wall -pthread CPPFLAGS = CXX = g++ CXXFLAGS = -pthread LDFLAGS = LIBS = -lwebp -llcms2 -ltiff -ljasper -ljpeg -lpng12 -lz -lm -lgomp -lpthread Yes, I am aware of the gm4java library by Kenneth Xu and we are using it. The incentive to switch to JNI based GM is because it is almost 2 times as fast. Writing to disk takes so much time. I can play with pipling to see if avoiding disk this way will improve perf. Thanks for the help! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Graphicsmagick-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help