[Image-SIG] Placing colored pixels next to each other

Fredrik Lundh fredrik at pythonware.com
Mon Oct 30 17:42:53 CET 2006

Steve Lianoglou wrote:

> I'm using OS X so the show() function is defaulting to use Preview.app.

and JPEG, I'm afraid:

     $ more PIL/Image.py


     elif sys.platform == "darwin":
         format = "JPEG"
         if not command:
             command = "open -a /Applications/Preview.app"


(I wonder how I missed that).

what formats do Preview.app support?  can you try setting format to None 
(that writes a PPM file using an optimized code path), or perhaps "PNG".


More information about the Image-SIG mailing list