Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating reflected style Images from NSImage



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.