Rendering into FxImage question
Rendering into FxImage question
- Subject: Rendering into FxImage question
- From: "Jay Boyer" <email@hidden>
- Date: Mon, 27 Jul 2009 14:38:32 -0700
I am working on an FxPlugin Filter. The Issue at hand
is that in the filter render code I want to copy the bitmap image from the
input FxImage into the output FxImage. The input and output bitmap
characteristics are not guaranteed to be the same so I can’t just BLT the
data across, and FxImage doesn’t contain rendering methods such as draw()
or drawInRect(). I know how to set the graphics context to the output bitmap/FxImage
and I have been looking at QUARTZ and I don’t see any obvious way to
create an object (NSBitmapImageRep for example) from the original bitmap/FxImage
that would enable me to render that object into the current context. I am
pretty new to the mac and am not familiar with the appropriate APIs.
I’ve been digging through the cocoa references but so far I
can’t really see what the correct way to accomplish this would be.
I would appreciate some advice concerning how to go about creating a copy
of the input image into output Image.
Thanks in advance,
Jay
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden