

Image moduleImageChops (“channel operations”) moduleImageCms moduleImageColor moduleImageDraw moduleImageEnhance moduleImageFile moduleImageFilter moduleImageFont moduleImageGrab moduleImageMath moduleImageMorph moduleImageOps moduleImagePalette moduleImagePath moduleImageQt moduleImageSequence moduleImageShow moduleImageStat moduleImageText moduleImageTk moduleImageTransform moduleImageWin module (Windows-only)ExifTags moduleTiffTags moduleJpegPresets modulePSDraw modulePixelAccess classfeatures modulePSDraw module¶ThePSDraw module provides simple print support for PostScriptprinters. You can print text, graphics and images through this module.
Sets up printing to the given file. Iffp is omitted,sys.stdout.buffer is assumed.
Set up printing of a document. (Write PostScript DSC header.)
Draw a PIL image, centered in the given box.
Draws a line between the two points. Coordinates are given inPostScript point coordinates (72 points per inch, (0, 0) is the lowerleft corner of the page).
Draws a rectangle.
box – A tuple of four integers, specifying left, bottom, width andheight.