• 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
Create semi-transparent NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create semi-transparent NSImage


  • Subject: Create semi-transparent NSImage
  • From: Michael Petnuch <email@hidden>
  • Date: Tue, 28 Feb 2006 08:11:22 -0500

Hello,

I am trying to create a semi-transparent thumbnail for my application when I perform drag and drop. The problem is, the source image is not transparent. I know that you can draw the NSImage transparent by using the compositeToPoint methods, but those do not actually change the data. I need the actual NSImage to contain the transparent image so that I can pass it to the function:

dragImage:at:offset:event:pasteboard:source:slideBack:

How does an application like iPhoto create the transparent thumbnail?

Thanks in advance.

---------------------------------------------------------------
Michael Petnuch
http://www.petnuch.com
email@hidden



_______________________________________________
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


  • Follow-Ups:
    • Re: Create semi-transparent NSImage
      • From: "I. Savant" <email@hidden>
  • Prev by Date: NSDocument not receiving notifications from NSTextField
  • Next by Date: Re: Solved: Link & Table Cursors in NSTextView
  • Previous by thread: Re: NSDocument not receiving notifications from NSTextField
  • Next by thread: Re: Create semi-transparent NSImage
  • Index(es):
    • Date
    • Thread