[9fans] TIFF/libtiff - Plan9

This is a discussion on [9fans] TIFF/libtiff - Plan9 ; I have a working port of the libtiff library, version 3.8.2 and I'll be looking to port 3.9.0beta as well as 4.0.0alpha in the next few days. I also have working tools, --rwxrwxr-x M 43 lucio sys 499597 Mar 18 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: [9fans] TIFF/libtiff

  1. [9fans] TIFF/libtiff

    I have a working port of the libtiff library, version 3.8.2 and I'll
    be looking to port 3.9.0beta as well as 4.0.0alpha in the next few
    days.

    I also have working tools,

    --rwxrwxr-x M 43 lucio sys 499597 Mar 18 10:53 /386/bin/pub/tiff2bw
    --rwxrwxr-x M 43 lucio sys 597885 Mar 18 10:53 /386/bin/pub/tiff2pdf
    --rwxrwxr-x M 43 lucio sys 514702 Mar 18 10:53 /386/bin/pub/tiffcp
    --rwxrwxr-x M 43 lucio sys 497835 Mar 18 10:53 /386/bin/pub/tiffdither
    --rwxrwxr-x M 43 lucio sys 538938 Mar 18 10:53 /386/bin/pub/tiff2rgba
    --rwxrwxr-x M 43 lucio sys 503646 Mar 18 10:53 /386/bin/pub/tiffcmp
    --rwxrwxr-x M 43 lucio sys 535086 Mar 18 10:53 /386/bin/pub/tiff2ps
    --rwxrwxr-x M 43 lucio sys 498334 Mar 18 10:53 /386/bin/pub/tiffset
    --rwxrwxr-x M 43 lucio sys 497384 Mar 18 10:53 /386/bin/pub/tiffsplit
    --rwxrwxr-x M 43 lucio sys 503927 Mar 18 10:53 /386/bin/pub/tiffdump
    --rwxrwxr-x M 43 lucio sys 502360 Mar 18 10:53 /386/bin/pub/tiffmedian
    --rwxrwxr-x M 43 lucio sys 508511 Mar 18 10:53 /386/bin/pub/tiffinfo
    --rwxrwxr-x M 43 lucio sys 500656 Mar 18 10:54 /386/bin/pub/bmp2tiff
    --rwxrwxr-x M 43 lucio sys 501633 Mar 18 10:54 /386/bin/pub/gif2tiff
    --rwxrwxr-x M 43 lucio sys 502741 Mar 18 10:54 /386/bin/pub/fax2ps
    --rwxrwxr-x M 43 lucio sys 500520 Mar 18 10:54 /386/bin/pub/fax2tiff
    --rwxrwxr-x M 43 lucio sys 502814 Mar 18 10:54 /386/bin/pub/raw2tiff
    --rwxrwxr-x M 43 lucio sys 498642 Mar 18 10:54 /386/bin/pub/ppm2tiff
    --rwxrwxr-x M 43 lucio sys 498565 Mar 18 10:54 /386/bin/pub/pal2rgb
    --rwxrwxr-x M 43 lucio sys 498243 Mar 18 10:54 /386/bin/pub/ras2tiff
    --rwxrwxr-x M 43 lucio sys 500815 Mar 18 10:54 /386/bin/pub/thumbnail
    --rwxrwxr-x M 43 lucio sys 539230 Mar 18 10:55 /386/bin/pub/rgb2ycbcr

    but I don't know how to blend any of these with page(1), at the moment
    the solution seems to be something like

    tiff2ps xyz.tif | page

    It would be preferable to let page do the deciding, but I'm not sure
    how to approach this. Anybody who'd like to elighten me, please feel
    free.

    Mind you, I really believe page(1) needs some work, if only I could
    figure out what are errors in it (partial black pages in TeX output,
    for example) and what are misfeatures strictly from a personal point
    of view.

    ++L

    PS: I still really need to concoct and document the approach I use
    more or less automatically now to produce APE libraries and tools, but
    of course this is not the fun part, so it gets somewhat neglected. It
    is also the reason why there are now two ports of "libtiff". Binaries
    are easy to supply, sources need a bit of work.



  2. Re: [9fans] TIFF/libtiff

    > but I don't know how to blend any of these with page(1), at the moment
    > the solution seems to be something like
    >
    > tiff2ps xyz.tif | page


    in /n/sources/contrib/quanstro/src/tiff there is a very poor tiff converter
    i started several years ago. i only mention it because it does interface
    with page. for example
    tiff stamp.tiff|page
    or
    tiff stamp.tiff
    it may (or may not) be a useful example.

    - erik



  3. Re: [9fans] TIFF/libtiff

    > in /n/sources/contrib/quanstro/src/tiff there is a very poor tiff converter
    > i started several years ago. i only mention it because it does interface
    > with page.


    Does it produce Plan 9-format image files? Right now, tiff2ps and
    tiff2pdf will produce page(1) compatible outputs, but page(1) can
    invoke a pipeline (the deceased tiff2pic, for example) to process what
    it recognises as a TIFF file. But tiff2ps and tiff2pdf won't do the
    right thing in this case and I can't really reproduce tiff2pic, at
    least not verbatim.

    Also, when I tried the internal pipeline trick in the past, it turned
    out not to be terribly practical when the files are in hundreds of
    megapixels. Still, suggestions are welcome, I stil don't really know
    what page(1) wants to chew on, I can look at the source to figure it
    out, but a few words by the right expert(s) will save a lot of
    looking.

    And any ideas on how to render extremely large images are also
    welcome.

    ++L



  4. Re: [9fans] TIFF/libtiff

    > Does it produce Plan 9-format image files?

    yes



  5. Re: [9fans] TIFF/libtiff

    >> Does it produce Plan 9-format image files?
    >
    > yes


    Then it's exactly the guidelines I need :-)

    Thank you.

    ++L



+ Reply to Thread