leafo / magick

Lua bindings to ImageMagick for LuaJIT using FFI
401 stars 79 forks source link

How can I make progressive images? #53

Open yyyyeeeeesss opened 6 years ago

yyyyeeeeesss commented 6 years ago

How can I make progressive images?

I use

local image = assert(magick.load_image('my_photo.jpg')) image:set_interlace_scheme('PlaneInterlace') ngx.say(image:get_blob()) ngx.exit(ngx.OK)

but this service http://highloadtools.com/progressivejpeg put no prograssive image.

ivakinpavel commented 6 years ago

I found that you, Leafo, made a great work! your bindings faster than pure C (can be find on github) for about 20%! but i can use it bc i really need progressive jpegs. Can you pls spend some time and look at this issue?