I know this isn't technically a QuartzComposer question, but it is
related to QuartzComposer. I use QC to prototype some CIFilter
chains I'm going to setup programatically. In this particular case,
I've got an image that I want to tile using CIAffineTile, and then
crop using CICrop. I don't want any interpolation on the resulting
image. I'm attaching two images. This first is the original image.
The second is a screenshot of the image tiled and scaled to twice
it's size.
When I test this using QC, it allows you to create CIFilters and then
turn off interpolation (in the Settings tab, set Filtering Mode to
None). I cannot seem to figure out how to turn off interpolation on
a CIFilter programmatically in my own code. It seems to me that
CISampler has a way to turn off the interpolation by using
kCISamplerFilterNearest, but I cannot figure out how to use that with
an existing CIFilter. How does QuartzComposer implement the "None"
filtering? Is it accessing the CIFilter's kernel directly?
BTW, yes, I asked this on quartz-dev, but I have received no
suggestions in the last 3 weeks, so I figured I'd ask here.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden