Hi Wayne,

Yep, I considered using PIL, but that package won't read so-called Group 4 
Tiffs 
[1]. They're two-page, black-and-white scanned forms. I need part of the second 
form (i.e., the backside of a certificate). The page contains some hand-written 
info which needs to be presented in a simple data entry program, which I made 
using Tkinter.

The forms are confidential so they may not leave the company network. And the 
IT 
droids are somewhat paranoid so it's very time-consuming to get some new 
executable 'inside' the company network. Beeeh, formalities... :-(

 
[1] http://www.digitalpreservation.gov/formats/fdd/fdd000024.shtml

Cheers!!
Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have 
the 
Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




________________________________
From: Wayne Werner <waynejwer...@gmail.com>
To: Albert-Jan Roskam <fo...@yahoo.com>
Cc: Python Mailing List <tutor@python.org>
Sent: Fri, August 27, 2010 6:44:04 PM
Subject: Re: [Tutor] more on wx and tiff


On Fri, Aug 27, 2010 at 11:25 AM, Albert-Jan Roskam <fo...@yahoo.com> wrote:

Hi again,
>
>Some more questions about tiff conversion. 
>
>First, thanks for your previous replies. I cannot use IrfanView any time soon, 
>nor will my boss switch to Linux. 
>
>

Have you tried using the PIL?
http://www.pythonware.com/products/pil/

import Image
i = Image.open("file.tiff")
i.save(open('file.png', 'w'), filetype='png')

I don't know if that was previously suggested, but it should work on any 
platform with PIL installed. 

HTH,
Wayne


      
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to