20121211 1559 BMP2JPG 调用libjpeg库.7z

时间:2016-01-01 09:47:47
【文件属性】:

文件名称:20121211 1559 BMP2JPG 调用libjpeg库.7z

文件大小:1.24MB

文件格式:7Z

更新时间:2016-01-01 09:47:47

BMP JPG

介绍如何在linux下编译生成libjpeg库,然后调用libjpeg库将BMP图片转成JPG图片。 tar jvxf libtool-2.2.4.tar.bz2 cd libtool-2.2.4/ ./configure CC=arm-linux-gnu-gcc --build=i686-linux --host=arm-linux --prefix=$PWD/_install ./configure CC=gcc --build=i686-linux --prefix=$PWD/_install ./configure CC=gcc --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu --prefix=$PWD/_install ./configure CC=arm-linux-gcc --build=i686-linux-gnu --host=arm-linux --target=arm-linux --prefix=$PWD/_install make && make install tar zvxf jpegsrc.v6b.tar.gz cd jpeg-6b ./configure CC=arm-linux-gnu-gcc --prefix=$PWD/_install --enable-shared --enable-static --host=arm-linux ./configure CC=gcc --prefix=$PWD/_install --enable-shared --enable-static ./configure CC=gcc --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu --prefix=$PWD/_install --enable-shared --enable-static ./configure CC=arm-linux-gcc --build=i686-linux-gnu --host=arm-linux --target=arm-linux --prefix=$PWD/_install --enable-shared --enable-static mkdir -p _install/bin _install/include _install/lib _install/man/man1 make && make install root@ubuntu:/home/disk2/PP1938-V2.4.1/bmp2jpg# arm-linux-gcc -v Using built-in specs. Target: arm-linux Configured with: ../gcc-4.3.2/configure --target=arm-linux --prefix=/home/magus/toolchain/cross-tools --enable-languages=c,c++ --enable-threads=posix --enable-shared --enable-__cxa_atexit --with-arch=armv6 --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=softfp --enable-c99 --enable-long-long --disable-nls --with-sysroot=/home/magus/toolchain Thread model: posix gcc version 4.3.2 (GCC) root@ubuntu:/home/disk2/PP1938-V2.4.1/bmp2jpg# gcc -v Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) root@ubuntu:/home/disk2/PP1938-V2.4.1/bmp2jpg#


【文件预览】:
JPG
----arm-linux-gcc -v 参数列表.txt(2KB)
----20121211 1557 bmphead bmp的头文件解析.7z(17KB)
----20121129 1048 bmp2jpg arm-linux.7z(602KB)
----20121128 1843 bmp2jpg i686-linux.7z(632KB)
----gcc -v 常用库之一:libjpeg的交叉编译.txt(2KB)

网友评论