Re:Zimg – A lightweight and high-performance image storage a...
by jbaiter on Tuesday September 09, 2014 @04:51AM
(#8289250)
This looks great!
Just a suggestion, but I think you could boost the performance of simple JPEG transformations (crop, rotate by multiples of 90 degrees, transpose/transverse) by using the transformation facilities of libjpeg or libturbojpeg (which has a far nicer API). For scaling there is also epeg which works directly with the DCT coefficients.
Just a suggestion, but I think you could boost the performance of simple JPEG transformations (crop, rotate by multiples of 90 degrees, transpose/transverse) by using the transformation facilities of libjpeg or libturbojpeg (which has a far nicer API). For scaling there is also epeg which works directly with the DCT coefficients.
I created a Python library that uses these APIs and it beats all ImageMagick-based solutions by an order of magnitude: https://github.com/jbaiter/jpegtran-cffi