php liblcms2.so,libvips : 具有低内存需求的快速图像处理库

libvips : an image processing library

68747470733a2f2f7472617669732d63692e6f72672f6c6962766970732f6c6962766970732e7376673f6272616e63683d6d617374657268747470733a2f2f6f73732d66757a7a2d6275696c642d6c6f67732e73746f726167652e676f6f676c65617069732e636f6d2f6261646765732f6c6962766970732e73766768747470733a2f2f7363616e2e636f7665726974792e636f6d2f70726f6a656374732f363530332f62616467652e737667

This branch

Is for experiemtning with libspng.

Notes

Build libspng:

cd libspng

meson build --prefix=/home/john/vips --libdir=/home/john/vips/lib \

--buildtype=release

cd build

ninja

ninja install

Installs spng.pc.

Sample code:

libspng benchmark:

$ time vips avg wtc.png

117.065766

real0m2.972s

user0m3.376s

sys0m0.197s

And for libpng:

$ time vips avg wtc.png

117.065766

real0m3.816s

user0m4.177s

sys0m0.221s

Introduction

libvips is a demand-driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. libvips is licensed under the LGPL 2.1+.

It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others. It supports a large range of numeric types, from 8-bit int to 128-bit complex. Images can have any number of bands. It supports a good range of image formats, including JPEG, TIFF, PNG, WebP, HEIC, FITS, Matlab, OpenEXR, PDF, SVG, HDR, PPM / PGM / PFM, CSV, GIF, Analyze, NIfTI, DeepZoom, and OpenSlide. It can also load images via ImageMagick or GraphicsMagick, letting it work with formats like DICOM.

It comes with binding

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值