I have a requirement
You have one NSIMageView and that will change frequently based on a timer. When resizing, it should maintain the aspect ratio, so the image may not occupy the entire frame of the image, in this case I need to display the background color black,
can someone help me how can i achieve this? One approach came up in googling - to have a SubClass from NSImageView, but I donβt know what will affect the performance, since the image changes often,
source share