[cairo] Overflow bug painting from PixBuf?
a.g.nienhuis at gmail.com
Wed Oct 14 16:24:14 PDT 2009
I'm using cairo 1.8.8 and python to create some png files.
I load jpeg files with a gtk.gdk.PixbufLoader and use
gdk_ctx = gtk.gdk.CairoContext(ctx)
gdk_ctx.set_source_pixbuf(src_pixbuf, 0, 0)
This works fine until dst_x / scale > 32000. Then garbage is copied to
ctx. This also occurs with the PDF backend.
This means I cannot put a small thumbnail on the right side of an
image. (see attachment, the last photo is missing)
Is this a known bug? Is there anything I can do? Pre-scaling the
pixbuf might work.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 37979 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091015/e8992a5d/attachment-0001.png
More information about the cairo