Hello. I am reading an ICC color profile that is embedded in an image using iccread from the Image Processing Toolbox. I then open the image with imread and do some manipulation. Lastly I write the new image back to disk as a TIFF using imwrite.
My question is how do I write the image and embed the ICC profile? iccwrite will write an ICC profile file, but does not embed it in an image. imwrite does not appear to have an option to embed an ICC profile.
Have I missed something? What are my options? I simply want my manipulated file to have the same ICC profile embedded as the original file.