vips icon indicating copy to clipboard operation
vips copied to clipboard

Support for rotate images

Open h2non opened this issue 9 years ago • 8 comments

Firstly, thank you for this package.

It would be great if you can introduce support for images rotation. It can be done in VIPS. Here is the API doc: http://www.vips.ecs.soton.ac.uk/supported/current/doc/html/libvips/libvips-resample.html#vips-similarity

I think this is the only significant nice-to-have missing feature in the package

h2non avatar Mar 10 '15 10:03 h2non

Rotate implementation from sharp: https://github.com/lovell/sharp/blob/master/src/resize.cc#L217

h2non avatar Mar 17 '15 00:03 h2non

I will add it! Thanks!

DAddYE avatar Mar 17 '15 19:03 DAddYE

+1 on supporting rotation. I had planned to try and add support during our last hack days, but I ended up spending all my time working on my first Django ticket.

foresmac avatar Mar 25 '15 18:03 foresmac

Due to personal requirements, I've created my own Go package called bimg, which is heavily inspired in sharp as well.

All of my proposed features are now supported in bimg: https://github.com/h2non/bimg

h2non avatar Apr 07 '15 12:04 h2non

We'd certainly entertain the idea of using bimg instead, but I'd rather keep this issue open as long as @DAddYE is willing to explore adding support to vips.

foresmac avatar Apr 07 '15 16:04 foresmac

@foresmac I completely agree with you.

h2non avatar Apr 07 '15 16:04 h2non

Yes I'm gonna add the support soon, I'm working on trimming which is a feature that I need in another project and I'm also working on improving performances and cpu/memory reduction (1st priority)

DAddYE avatar Apr 07 '15 16:04 DAddYE

Any progress on this issue?

foresmac avatar Jun 18 '15 21:06 foresmac