How to call MagickProfileImage
Posted: 2007-09-14T17:28:01-07:00
Hi everyone,
I'm using MagickWand in C to do various tasks for a web CMS that I'm building. One of the things I want to do is convert uploaded photos from their native colorspaces to sRGB.
My question is: how exactly do I pass ICC data into MagickProfileImage? The documentation just mentions. Should I just read the binary data from the ICC profile into a buffer and pass MagickProfileImage a pointer to the buffer?
Thanks!
- ben
I'm using MagickWand in C to do various tasks for a web CMS that I'm building. One of the things I want to do is convert uploaded photos from their native colorspaces to sRGB.
My question is: how exactly do I pass ICC data into MagickProfileImage? The documentation just mentions
Code: Select all
const void *profile
Thanks!
- ben