prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / bitmap / jpeg.py
blob0f786be08e310dd11251bcddf6d2a40d88660758
1 from pyx import *
3 i = bitmap.jpegimage("jpeg.jpg")
4 c = canvas.canvas()
5 c.insert(bitmap.bitmap(0, 0, i, compressmode=None))
6 c.writeEPSfile("jpeg")
7 c.writePDFfile("jpeg")
8 c.writeSVGfile("jpeg")