I'm writing code to resize images with Go and the go-opencv package. After the resize happens, the image that I write out is missing the ICC profile from the original image.
Are there any Go or C libraries that can read/write ICC profiles? The goal is to not use command line tools but Go/C libraries so I can do all of this within the process. I know exiftool exists and can do this for me, but I'd rather not shell out to a perl script.