0
votes

I have an image view that has a Gaussian Blur (Setup with CALayer in Interface Builder). My image fills the window and gets an undesirable transparent area around the edges as the image is blurred. Is there a way I can make a blur "layer" above the image view so it distorts the image without ruining the edges? I do understand the edge distortion is due to way Gaussian Blur works.

Thanks

Blur

This is the top left corner of the window

1

1 Answers

0
votes

Alternatively, consider subclassing NSImageView and overriding -drawRect:, applying some Core Image filters to its image prior to drawing it? This gives you precise control over what's displayed while still keeping the original image set by the user.