Creating reflected style Images from NSImage
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