Re: the image not the icon
Re: the image not the icon
- Subject: Re: the image not the icon
- From: Frank Midgley <email@hidden>
- Date: Tue, 16 Nov 2004 18:45:59 -0600
On Nov 16, 2004, at 6:35PM, Jeff Childers wrote:
[[NSImage alloc] initWithContentsOfFile:file]
this works but I still dont have its transparency... It is a .png
file. Sorry I should have clear.
I am dragging files into a image well but I can't seem to find the
right fuction for the pngs tranparency to work.
What border type does your NSImageView have? I think that it is only
transparent if it has no border. If you need transparency and a border
you will need to sub-class NSView or NSImageView and draw the
image/border yourself.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden