Composite two NSImages

Is it possible to combine two NSImages, one on top of another, specifying a blend mode? I have two images I would like to overlay, then display in an NSImageView.

I appreciate any guidance. Thanks

I think I discovered that CIFilter allows me to do this with CIImage that I then convert to NSImage. (unless there is a better, simpler way?)

Yes, I'd recommend using CoreImage for this.

Composite two NSImages
 
 
Q