9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] TIFF/libtiff
@ 2008-03-19  4:54 lucio
  2008-03-19 17:45 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: lucio @ 2008-03-19  4:54 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] TIFF/libtiff
  2008-03-19  4:54 [9fans] TIFF/libtiff lucio
@ 2008-03-19 17:45 ` erik quanstrom
  2008-03-19 19:02   ` lucio
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2008-03-19 17:45 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] TIFF/libtiff
  2008-03-19 17:45 ` erik quanstrom
@ 2008-03-19 19:02   ` lucio
  2008-03-19 19:55     ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: lucio @ 2008-03-19 19:02 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] TIFF/libtiff
  2008-03-19 19:02   ` lucio
@ 2008-03-19 19:55     ` erik quanstrom
  2008-03-19 20:22       ` lucio
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2008-03-19 19:55 UTC (permalink / raw)
  To: 9fans

> Does it produce Plan 9-format image files?

yes



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] TIFF/libtiff
  2008-03-19 19:55     ` erik quanstrom
@ 2008-03-19 20:22       ` lucio
  0 siblings, 0 replies; 5+ messages in thread
From: lucio @ 2008-03-19 20:22 UTC (permalink / raw)
  To: 9fans

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

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

Thank you.

++L



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-19 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19  4:54 [9fans] TIFF/libtiff lucio
2008-03-19 17:45 ` erik quanstrom
2008-03-19 19:02   ` lucio
2008-03-19 19:55     ` erik quanstrom
2008-03-19 20:22       ` lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).