Commit Graph

7 Commits

Author SHA1 Message Date
Guido van Rossum 9e3307494d (Jack:) Recognize PNG files. 1997-04-11 18:59:38 +00:00
Guido van Rossum f813f56bcd imghdr.what(): check for not h'. This lets
you do:
    imghdr.what(None, '')
And still go down the
1996-08-22 21:20:46 +00:00
Guido van Rossum 81749b0754 Added optional second arg to what(), giving the data read from the file
(then f may be None).
1996-07-30 16:26:42 +00:00
Guido van Rossum 5cfa5dfe97 * calendar.py: all libC functionality now moved to built-in time module
* imghdr.py: added jpeg recognition
* torgb.py: added jpeg conversion
* tzparse.py: use functions from time instead of calendar
* whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
1993-06-23 09:30:50 +00:00
Guido van Rossum 2db91358de Misc changes and new modules. whrandom is "objectified". SOCKET.py
is moved to the sgi subdirectory.
1992-10-18 17:09:59 +00:00
Guido van Rossum 05b55e76f0 Fix pnm test for short files and add X bitmap as recognized type 1992-06-03 16:48:44 +00:00
Guido van Rossum 1c34fc7afb Initial revision 1992-05-27 14:06:59 +00:00