• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Transparency with PNG on NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparency with PNG on NSImageView


  • Subject: Transparency with PNG on NSImageView
  • From: Damien Cooke <email@hidden>
  • Date: Fri, 6 Feb 2009 08:58:38 +1030

Hi All,
I have what is probably a stupid problem. In my window I have a background NSImageView and I want to pop another much smaller one on top. The one I am putting on top is a png with transparencies. When I do this I get a rectangular image over my background but what I want to see is only the non transparent parts of my image. I have set the background colour of my image via [image setBackgroundColor:[NSColor clearColor]] but I am perplexed with the spectacular lack of any change.


I feel I am completely on the wrong path. Can someone point me in the right direction?

Regards
Damien


If you can't be kind, at least have the decency to be vague.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Transparency with PNG on NSImageView
      • From: Quincey Morris <email@hidden>
    • Re: Transparency with PNG on NSImageView
      • From: David Blanton <email@hidden>
  • Prev by Date: Re: Confused about NSTrackingAreas with autoscroll [WORKAROUND]
  • Next by Date: How to transform a NSString to a NSString C string format?
  • Previous by thread: Re: Getting *my* object out of a tree controller?
  • Next by thread: Re: Transparency with PNG on NSImageView
  • Index(es):
    • Date
    • Thread