Library size of libMagickCore & libMagickWand

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
chrsi.kim
Posts: 1
Joined: 2015-09-22T02:40:44-07:00
Authentication code: 1151

Library size of libMagickCore & libMagickWand

Post by chrsi.kim »

Hi.

I'm a software engineer of network camera.
i had cross-compiled the ImageMagick-6.9.2 for embedded linux system.
it will be only used for scan the qrcode jpg picture.

i used the configure options follow as;

./configure --host=arm-unknown-linux-uclibcgnueabi CC=arm-unknown-linux-uclibcgnueabi-gcc \
RANLIB=arm-unknown-linux-uclibcgnueabi-ranlib STRIP=arm-unknown-linux-uclibcgnueabi-strip \
CPPFLAGS="$CPPFLAGS -I/home/jskim/build_zbar/install/jpeg/include" \
LDFLAGS="$LDFLAGS -L/home/jskim/build_zbar/install/jpeg/lib" \
--enable-static \
--with-jpeg --without-lqr --without-gvc --without-openexr --without-perl --without-lcms \
--without-fontconfig --without-lzma --without-xml --without-zlib --without-png --without-pango \
--without-djvu --without-freetype --without-jbig --without-openjp2 \
--without-tiff --without-webp --without-fpx --without-dps --without-fftw \
--prefix=/home/jskim/build_zbar/install/MagickWand

However, the size of libraries are very big for embedded system.
libMagickCore-6.Q16.so.2.0.0 -> about 8.5MB
libMagickWand-6.Q16.so.2.0.0 -> about 2.2MB

How can i reduce the library size ????
Please let me know~~~
Post Reply