govips icon indicating copy to clipboard operation
govips copied to clipboard

Add method to modify exif data

Open stackcoder opened this issue 3 years ago • 3 comments

Expose the vips_image_set, vips_image_get functions to the go world.

stackcoder avatar Oct 02 '21 10:10 stackcoder

Hey @stackcoder thanks for opening the issue. Can you clarify whether this is a feature request or whether you'd be up for creating a PR yourself? There's several other recent pull requests which expose new vips functions in an idiomatic way, they should provide good examples if you have the time.

tonimelisma avatar Oct 03 '21 13:10 tonimelisma

It's only a feature request right now. I was looking for something like the withMetadata of sharp.

stackcoder avatar Oct 04 '21 10:10 stackcoder

@tonimelisma @stackcoder +1 on this - I'd love to be able to read and write EXIF data with this library as well.

AttilaTheFun avatar Jan 18 '22 05:01 AttilaTheFun

I feel like EXIF data manipulation is a bit outside of the functionality libvips has. Thus I'd deem it also outside the scope of govips. I'm sure there are other golang libraries to manipulate EXIF data, even though I understand that it would be useful to have the functionality in the same library.

tonimelisma avatar Nov 09 '22 18:11 tonimelisma

@tonimelisma that's totally fine -- now that I have the APIs to extract blobs, I'm pulling out the EXIF and XMP data and using other libraries to parse that.

AttilaTheFun avatar Nov 09 '22 18:11 AttilaTheFun