Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Quartz Scripting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quartz Scripting
Authored by: Andrew Shearer on Nov 24, '03 09:19:34PM

For Python scripters, there's also a comprehensive built-in interface to Panther's native graphics engine, Quartz. Resizing images can be 8 times faster with the heavily-optimized Quartz than PIL. The text, shape-drawing, and compositing features of Quartz are also available.

I have a sample code fragment for resizing JPEG images on my site.

If you have the Developer Tools installed, you can find other code samples focusing on the Quartz drawing and PDF features in /Developer/Examples/Quartz/Python/.



[ Reply to This | # ]