• 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
Creating reflected style Images from NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating reflected style Images from NSImage


  • Subject: Creating reflected style Images from NSImage
  • From: Steve Sheets <email@hidden>
  • Date: Thu, 28 Sep 2006 14:09:14 -0400

Good day all!

I could use a little help with this one.

I want to take a given NSImage and transform it into a new image which includes the fading reflection off itself of the floor. This effect would appear similar to appearance of image inside iChat or iWeb. I know how to use Core Image code and transformations, but do not see code that would do this effect. Or can it be simply done using NSImage draw calls or Quartz draw commands, with a given alpha mask? If there is a source example of this online, I am missing it.

If someone as code describing this effect, I would appreciate seeing it. I want to have a simple call, that is passed an NSImage and a background RGB color (for the background under the reflected portion of the new image). The result of the call would return a new image, with same width and larger height, that contains the original graphics on the upper part of the new image, and a fading reflected surface on the lower part of the image.

Thank you!

Steve Sheets
_______________________________________________
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: Creating reflected style Images from NSImage
      • From: "Stephen Deken" <email@hidden>
  • Prev by Date: Re: How to check if NSTextField is selected?
  • Next by Date: Re: Creating reflected style Images from NSImage
  • Previous by thread: Re: Conversion of =E? string
  • Next by thread: Re: Creating reflected style Images from NSImage
  • Index(es):
    • Date
    • Thread