govips icon indicating copy to clipboard operation
govips copied to clipboard

Question: Howto create images from values? Simple const operations?

Open jorismak opened this issue 1 year ago • 1 comments

Hi,

I've built a few things with lipvips in C before, but since I'm more working with Go these days, I was glad to see there was a binding for it.

But, I seem to be missing a lot? A lot of operations that have _const() variants in libvips for instance, but also things like new_from_image to create simple working-images to fill with (constant) values, etc...

Am I supposed to handle that different in govips, or are they just simply never 'converted' to Go because they weren't needed yet by the author? (A very understandable reason!).

jorismak avatar Feb 20 '24 09:02 jorismak

Hey @jorismak - yes, indeed, we haven't updated most of libvips functionality. People send PRs for functions they want to implement. Please check the contributing docs and add test cases for functions you add. You can see old PRs here in Github.

tonimelisma avatar Feb 21 '24 04:02 tonimelisma