Mailing Lists: Apple Mailing Lists

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

Re: Quartz Filters



Quartz filters were introduced in 10.3. I know of no programmatic way to create them; instead you can
manually create new ones in the ColorSync Utility. Once you create them you can use the new ones or any
built-in ones in one of two ways:


1) Users can select them in the ColorSync panel in the print dialog and the filter will be applied as
part of printing, Preview, save as PDF, PDF workflow, and save as PostScript.


2) There are Python bindings for the application of filters to arbitrary Quartz drawing when creating new PDF files as part of the Python bindings built into Quartz in
10.3 and later. Examples of using these bindings in Python code are in:
/Developer/Examples/Quartz/Python


The file "filter-pdf.py" in that directory gives an example of using a Quartz filter in Python. Python scripts could be used to apply custom Quartz filters as part of the PDF workflow for example.

I don't know of any existing documentation about Quartz filters. Because there is no available API for creating them and applying them (beyond in Python) that might not be too surprising.

I think Paul's message was directed toward trying to gather more information from developers about what they might like to see in the future. I'd suggest looking at the Quartz filter capabilities in ColorSync as a start in thinking about what suggestions you'd made toward future features.

Hope this is useful info.
David

On Jan 25, 2005, at 2:32 PM, email@hidden wrote:

I was rummaging through a collection of printing list topics I've printed
and noticed one from 6 Nov 2003 about object detection (distinguishing
text, bitmaps, etc.). Paul mentioned that Apple introduced Quartz filters
in Panther and suggested the writer "investigate their potential for the
functionality you have in mind." While I wasn't that writer, I am
interested in what Quartz filters can do, but can't find any documentation
on them.
Does anyone know where such documentation exists?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Printing mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden
References: 
 >Quartz Filters (From: 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.