[cairo] Cairo 1.6.4 Quartz crash: CGImageCreateCopy misuse

Vladimir Vukicevic vladimir at pobox.com
Mon May 5 13:00:57 PDT 2008


Paul,

Can you try the attached patch and see if it fixes the problem for  
you?  Note that in most cases this will result in a copy of the image  
data being created -- to avoid this, you should use the (experimental)  
cairo-image-surface and have it backed by an image surface that owns  
its own data.  That way the lifecycle issues are handled via  
refcounting, and no copy is needed.

     - Vlad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgimage-data-printing.patch
Type: application/octet-stream
Size: 1653 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080505/341cfedb/attachment.obj 
-------------- next part --------------



More information about the cairo mailing list