[Image-SIG] Core dump in 0.3b2 offset method

Eric S. Raymond esr@snark.thyrsus.com
Sun, 19 Jul 1998 15:46:32 -0400


--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii

Enclosed: a simple Python script that core-dumps PIL, and the image
to do it with.  Seems to work with any image, I just picked a small one.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

& what country can preserve its liberties, if its rulers are not
warned from time to time that his people preserve the spirit of
resistance?  Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and tyrants.
	-- Thomas Jefferson, letter to Col. William S. Smith, 1787 

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="offsetcore.py"

#!/usr/bin/python
import Image

image = Image.open("arrow.gif")
image = image.offset(50, 60)

--ew6BAiZeqk4r7MaW
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="arrow.gif"

R0lGODdhEAAJAPAAAP///wAAACwAAAAAEAAJAAACFoSPEcitDc0Dqtq7sN58xeR9UihORgEA
Ow==

--ew6BAiZeqk4r7MaW--