Golang编写的动态JPEG缩略图代理:go-thumber
jopen
10年前
go-thumber是一个Golang编写的动态JPEG缩略图代理,速度快。它只实现了JPEG -> JPEG缩略图。
特性:
- Input: JPEG (YCbCr 4:4:4, 4:4:0, 4:2:2, 4:2:0, and greyscale modes)
- Output: JPEG (YCbCr 4:4:4 or greyscale)
- No color conversion: data is kept in direct planar YCbCr buffers for efficiency and quality
- Optimized JPEG decoding: decodes only as much data as necessary for a particular resolution
- Uses libswscale for very fast but high quality scaling (lanczos)