Python imaging library (PIL) quick overview by Lundh F.

By Lundh F.

Show description

Read Online or Download Python imaging library (PIL) quick overview PDF

Best programming: programming languages books

JavaScript Bible, Fifth Edition

My fourth ebook. It explains a few subject matters sincerely and alternatives up on information in tools and nomenclature that have been disregarded of the others, making them complicated. The textual content, itself, is comparatively transparent, and there are solid indexes and lists.
Still, the writer makes assumptions of the reader's familiarity with coding, leaves the occasional logical stretch to be discovered. The examples should not super consumer pleasant. it truly is thorough, maybe an excessive amount of for a primary examine personal home page.

Sams teach yourself Windows Phone 7 game programming in 24 hours

Sams train your self home windows cellphone 7 online game Programming in 24 Hours (11) by way of Harbour, Jonathan [Paperback (2011)]

Additional info for Python imaging library (PIL) quick overview

Example text

The fill option gives the colour to use for the ellipse interior. line(xy, options) Draws a line between the coordinates in the xy list. The coordinate list can be any sequence object containing either 2-tuples [ (x, y), ... ] or numeric values [ x, y, ... ]. It should contain at least two coordinates. The fill option gives the colour to use for the line. pieslice(xy, start, end, options) Same as arc, but also draws straight lines between the end points and the center of the bounding box. The outline option gives the colour to use for the pieslice outline.

Attributes The following attributes contain a sequence with one element for each layer in the image. All attributes are lazily evaluated; if you don't need a value, it won't be calculated. extrema (Attribute). Get min/max values for each band in the image. count (Attribute). Get total number of pixels. sum (Attribute). Get sum of all pixels. sum2 (Attribute). Squared sum of all pixels. mean (Attribute). Average pixel level. median (Attribute). Median pixel level. rms (Attribute). RMS (root-mean-square).

All attributes are lazily evaluated; if you don't need a value, it won't be calculated. extrema (Attribute). Get min/max values for each band in the image. count (Attribute). Get total number of pixels. sum (Attribute). Get sum of all pixels. sum2 (Attribute). Squared sum of all pixels. mean (Attribute). Average pixel level. median (Attribute). Median pixel level. rms (Attribute). RMS (root-mean-square). var (Attribute). Variance. stddev (Attribute). Standard deviation. The ImageTk Module The ImageTk module contains support to create and modify Tkinter BitmapImage and PhotoImage objects.

Download PDF sample

Rated 4.18 of 5 – based on 46 votes