470,591 Members | 1,557 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

pytiff for windows

Does anyone have a link for a compiled-for-windows version of pytiff?
(or alternatively tell me how to get PIL to save a multipage tiff).

Iain

Apr 27 '06 #1
2 1790
Iain King wrote:

<-cut pytiff->
(or alternatively tell me how to get PIL to save a multipage tiff).

PIL can't.

If you need to work with multi-page images (tiff and others), you can
use freeimagepy (freeimagepy.sf.net)
import FreeImagePy as FIPY lst_names = ("/tmp/f1.png",
"/tmp/f2.jpg") F = FIPY.freeimage()
F.convertToMultiPage(lst_names, "out.tif", FIPY.FIF_TIFF)

(0, 'All ok!! File saved on out.tif')

Iain


Michele
Apr 27 '06 #2
Michele Petrazzo wrote:
import FreeImagePy as FIPY lst_names = ("/tmp/f1.png",
"/tmp/f2.jpg") F = FIPY.freeimage() F.convertToMultiPage(lst_names,
"out.tif", FIPY.FIF_TIFF) (0, 'All ok!! File saved on out.tif')


Sorry for this bad copy/paste/thunderbird :)
import FreeImagePy as FIPY
lst_names = ("/tmp/f1.png","/tmp/f2.jpg")
F = FIPY.freeimage()
F.convertToMultiPage(lst_names, "out.tif", FIPY.FIF_TIFF)


Michele
Apr 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Christian McArdle | last post: by
1 post views Thread by Scott Davies | last post: by
reply views Thread by Scott Davies | last post: by
4 posts views Thread by Rod Gill | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.