On Oct 27, 2009, at 9:41 AM, George Toledo wrote:

I thought I had been clear that the bug was in the Constant Color; I didn't mean for anyone to wind up spending time looking at the sprite.  ("In short, if the color value of the Constant Color is set to 0,0,0,0, it no longer outputs an image; it shuts down.) 

This has been that way for a while... In Tiger, images with zero alpha were legitimate, but then Core Image changed the behavior in 10.4.3 or 10.4.4 and now they just optimize down to nil. I'm inclined to agree with you all that constant color should return an image whose contents are transparent. Otherwise, it's really difficult to fade out an image and rely on the image size being constant. 

On the other hand, creating an image with transparent borders does not require a crop patch which can be convenient:

Attachment: ZeroAlpha.qtz
Description: application/quartzcomposer


It's a gotcha, so watch out. The recommended workaround is to create the custom CIFilter that outputs a color as discussed earlier in the thread.


A slight aside:

It's slightly unnerving to see bugs get deferred as being CI bugs, or some other department's bug, etc., and then I have to go on the CI list, or file it as a CI bug, or the driver department or whatever. 

Remember that the lists are for discussion among developers, not official communication with Apple. When someone here says, "It's an optimization in CI" that doesn't mean that your problem isn't valid, just that there isn't anyone here that can help you. The proper thing to do is to write a bug. It will be routed to the work queue of the engineer responsible whether that's Core Image or Quartz Composer or Chess.app. Then, you can try bringing up the problem on the correct mailing list to get hints and workarounds for the issue.

We take bugs very seriously here, we just don't have a lot of time to respond to emails when we're trying to make Quartz Composer better :) We do appreciate the help that many of you give to your peers, and the bugs that all of you write.

Troy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to