pytiff for windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Iain King

    #1

    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

  • Michele Petrazzo

    #2
    Re: pytiff for windows

    Iain King wrote:

    <-cut pytiff->
    [color=blue]
    > (or alternatively tell me how to get PIL to save a multipage tiff).
    >[/color]

    PIL can't.

    If you need to work with multi-page images (tiff and others), you can
    use freeimagepy (freeimagepy.sf .net)
    [color=blue][color=green][color=darkred]
    >>> import FreeImagePy as FIPY lst_names = ("/tmp/f1.png",
    >>> "/tmp/f2.jpg") F = FIPY.freeimage( )
    >>> F.convertToMult iPage(lst_names , "out.tif", FIPY.FIF_TIFF)[/color][/color][/color]
    (0, 'All ok!! File saved on out.tif')

    [color=blue]
    > Iain
    >[/color]

    Michele

    Comment

    • Michele Petrazzo

      #3
      Re: pytiff for windows

      Michele Petrazzo wrote:[color=blue]
      >[color=green][color=darkred]
      >>>> import FreeImagePy as FIPY lst_names = ("/tmp/f1.png",
      >>>> "/tmp/f2.jpg") F = FIPY.freeimage( ) F.convertToMult iPage(lst_names ,
      >>>> "out.tif", FIPY.FIF_TIFF)[/color][/color]
      > (0, 'All ok!! File saved on out.tif')
      >[/color]

      Sorry for this bad copy/paste/thunderbird :)
      [color=blue][color=green][color=darkred]
      >>> import FreeImagePy as FIPY
      >>> lst_names = ("/tmp/f1.png","/tmp/f2.jpg")
      >>> F = FIPY.freeimage( )
      >>> F.convertToMult iPage(lst_names , "out.tif", FIPY.FIF_TIFF)[/color][/color][/color]



      Michele

      Comment

      Working...