from __future__ import *
Talking Panda Update
May 23, 2005 at 11:37 PM | categories: java, python, iPod, macosx, py2app, perl, PyObjC, pil, General | View CommentsWe've (finally) updated talkingpanda.com today with a fresh new look and a new product: iBar.
iBar turns your iPod (any iPod with a screen and a dock connector) into an "ultimate bartending tool" with over a thousand drink recipes, mixing techniques, and even a couple history lessons. Like any good bar should be, it's stocked. Altogether, the Notes content adds up to over 3 megabytes (yes, that's text!) with more than 40 minutes of original, professionally recorded, audio.
Like its sibling iLingo, iBar ships with installers for Mac OS X and Windows XP/2000 (everywhere iTunes is supported) that make installation painless.
And for relevance, here's a little bit about how it's all put together:
- The Mac OS X installer was developed with Python 2.3, PyObjC 1.2, and bundled up with py2app.
- The Win32 installer was developed with Python 2.4, win32all, Tkinter, PIL and is bundled up with py2exe and then made self-contained with NSIS.
- The build scripts for the installer application actually use even more open source stuff. We use JExcelAPI to convert Excel spreadsheets to XML, and Win32::Exe to swap out the ICO resource out of win32 executables -- but no Java or Perl makes it into the redistributable :)
We're also blogging updates and podcasting some of our content, so point your NetNewsWire or Safari RSS over to Talking Panda News!
PIL 1.1.5b3 for Mac OS X 10.3
February 08, 2005 at 04:14 PM | categories: python, pil, macosx, py2app | View CommentsI've put together a quick bdist_mpkg build of PIL 1.1.5b3:
- Imaging-1.1.5b3-py2.3-macosx10.3.zip for Mac OS X 10.3 (Pre-installed Python 2.3.0)
UPDATE: This is out of date. There is a newer version and other installers available at pythonmac packages.
It's statically linked against:
- jpeg 6b (from darwinports)
- tiff 3.7.1 (from darwinports)
- freetype 2.1.9 revision 1 (from darwinports)
_imagingtk is dynamically linked with the Tcl and Tk 8.4 frameworks installed to /Library.
PIL plugins for obscure image formats
August 15, 2004 at 04:04 AM | categories: python, pil | View CommentsI've written two read-only PIL plugins for obscure image formats over the past few years. I offered them up for PIL inclusion on image-sig, but received no response whatsoever.
Anyway, here they are:
- icns:
- Decoder for the Mac OS X 'icns' resource format
- SoftimageImage:
- Decoder for lossless Softimage PICT (.pic) files
Checking the current directory for progressive JPEGs
June 17, 2004 at 08:13 PM | categories: python, pil | View CommentsThis is a quick hack, you'll need PIL with JPEG support installed to use it.
import glob, Image
print 'n'.join([fn for fn in glob.glob('*.jpg') if Image.open(fn).info.get('progression')])