| Author |
Message |
Dingo

Joined: 11 Dec 2007 Posts: 1398 Location: somewhere at the end of rainbow...
|
Posted: Thu 20 Mar 2008, 14:01 Post subject:
multipage tiff viewer? Subject description: multipage tiff viewer needed for puppy |
|
Woof Woof
I need a Tiff viewer (multipage) is any tiff viewer already in Puppy or not? thanks for any help
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 20 Mar 2008, 14:56 Post subject:
|
|
cd /usr/bin/
ls -1 tiff*
I get:
tiff2bw
tiff2pdf
tiff2ps
tiff2rgba
tiffcmp
tiffcp
tiffdiff
tiffdither
tiffdump
tiffgt
tifficc
tiffinfo
tiffmedian
tiffset
tiffsplit
tifftopnm
If you type for example:
tiff2pdf --help
then you can see how to use it.
But I don't know, if multiple pages are supported.
Maybe this is "tiffsplit" written for?
| Quote: | # tiffsplit
LIBTIFF, Version 3.8.2
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
usage: tiffsplit input.tif [prefix] |
You also could drag this script on your desktop, then you can drag a .tif from Rox-filer on it to convert to PDF.
roxtiff2pdf
| Code: | #!/bin/bash
#-- replace .tif .tiff .TIFF .TIF at end of filename with pdf
a=`echo "$1" | sed "s/\.tif*$/.pdf/i"`
#echo $a
tiff2pdf -o "$a" "$1"
#-- show the folder with the picture in rox
f=`dirname "$1"`
rox "$f"
|
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 20 Mar 2008, 15:45 Post subject:
|
|
yes, tiffsplit splits multipage tiffs.
You can then watch the single tiffs in mtpaint or gqview, so my PDF-converterscript from above is not needed.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1398 Location: somewhere at the end of rainbow...
|
Posted: Thu 20 Mar 2008, 15:55 Post subject:
|
|
yes, but, for example, my multipage tiff was a document sended by fax to mail service to me. for me, is easier and comfortable to view this via pdf viewer than split first in its single pages
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 20 Mar 2008, 16:19 Post subject:
|
|
http://linuxgazette.net/138/misc/lg/multipage_tif_file.html
| Quote: | Try "tiff2pdf". It is part of the "libtiff-tools" package on Debian.
According to the manpage:
The program converts one TIFF file to one PDF file,
including multiple page TIFF files, tiled TIFF files, black
and white. grayscale, and color TIFF files that contain
data of TIFF photometric interpretations of bilevel,
grayscale, RGB, YCbCr, CMYK separation, and ICC L*a*b* as
supported by libtiff and PDF. |
So my simple drag'n'drop script might work.
I have no such tiff here, so I cannot test myself.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Thu 20 Mar 2008, 21:05 Post subject:
|
|
Dingo,
you got me googling, as I've not heard of multi-page tiff before. But you're not alone in your quest:
http://ubuntuforums.org/showthread.php?t=10144
http://ubuntuforums.org/showthread.php?t=28449
Unfortunately, the ghfaxviewer has gnome dependencies for it to compile. There are also references to possibly using a browser plugin to view these tiffs. But anyway, I found qfaxreader, which I've uploaded here:
http://www.murga-linux.com/puppy/viewtopic.php?t=27406
Like Mu, not having any such documents as multi-page tiffs, I've got no idea whether/how the program works. Give it a try & let us know how it goes.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Thu 20 Mar 2008, 22:13 Post subject:
|
|
Dingo,
here's an alternative:
http://tiff-plugin.sourceforge.net/
I've attached this, (compiled with pup2.16), so extract the attached package to /. It just extracsts 3 files, /usr/bin/mozilla-tiff-viewer, /usr/lib/mozilla-tiff-plugin/mozilla-tiff-plugin.so & a symlink in /usr/lib/mozilla/plugins.
Let us know how it compares, in viewing, with qfaxreader.
Here's a page to test whether the tiff plugin is working:
http://plugindoc.mozdev.org/testpages/tiff.html
| Description |
|

Download |
| Filename |
mozilla-tiff-plugin-0.3.2-1.tar.gz |
| Filesize |
13.11 KB |
| Downloaded |
427 Time(s) |
Last edited by muggins on Thu 27 Mar 2008, 21:14; edited 1 time in total
|
|
Back to top
|
|
 |
wjaguar
Joined: 21 Jun 2006 Posts: 182
|
Posted: Fri 21 Mar 2008, 01:33 Post subject:
|
|
Attached is what I use for multipage TIFFs; a simple Perl script which splits a TIFF into a temp directory and launches gqview to display the results. From usability standpoint, gqview in a directory browse mode is no worse than any natively "multipage-capable" TIFF viewer - and all such viewers known to me are inferior to gqview on features.
| Description |
Gzipped Perl script
|

Download |
| Filename |
showtiff.gz |
| Filesize |
437 Bytes |
| Downloaded |
415 Time(s) |
|
|
Back to top
|
|
 |
paulski
Joined: 06 Oct 2006 Posts: 124 Location: Cologne, Germany &/or Perth, Australia
|
Posted: Tue 24 Jun 2008, 15:02 Post subject:
Tiff Tools not there in Puppy 4 |
|
I've been testing all me neato scripts for doing stuff with tiffs - I get multipage ones often and convert them to pdf - then view them
All ok with Puppy 2 series
but I just tried it in Puppy 4
look at this:
cd /usr/bin
ls -l *tiff
I get
tiffdiff
tifficc
tifftopnm
............... and nothing more
Now thats a real pain as tiff2pdf if gone.
I tried a debian package - but they don't run- probably hate the kernel.
Anyone know where I can get all my tiff tools back to work with Puppy 4.0?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 24 Jun 2008, 17:00 Post subject:
|
|
Paulski, can't you copy them from Puppy 2 to Puppy 4?
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Tue 24 Jun 2008, 22:14 Post subject:
|
|
here are all the /usr/bin/tiff* files from pup2.16.
| Description |
|

Download |
| Filename |
tiff-binaries.tar.gz |
| Filesize |
96.55 KB |
| Downloaded |
374 Time(s) |
|
|
Back to top
|
|
 |
paulski
Joined: 06 Oct 2006 Posts: 124 Location: Cologne, Germany &/or Perth, Australia
|
Posted: Wed 25 Jun 2008, 15:40 Post subject:
|
|
Fantastic guys. Thanks MU and muggins!
That was the solution. Installed the binaries and all is rosy.
I did fear that the Pup 2.16 files could go haywire because of a different kernel. Nothing like that happened.
Now all my little scripts have come back to life. Mutlipage PDF's from multpage tifs here we go!
|
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2449
|
Posted: Thu 28 Aug 2008, 05:11 Post subject:
|
|
| MU wrote: | Paulski, can't you copy them from Puppy 2 to Puppy 4?
Mark |
I just attempted both tiff2pdf and tiffsplit after copying the binaries to Dingo, and got errors for both. The same tiff file sent to my xp computer opened fine.
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Thu 28 Aug 2008, 07:47 Post subject:
|
|
there's also qfaxreader
http://www.murga-linux.com/puppy/viewtopic.php?t=27406
Aitch
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Thu 28 Aug 2008, 21:45 Post subject:
|
|
jpeps,
it's hard to say what may be causing the errors, if you don't specify what they are! Otherwise, you can try Aitch's suggestion & try & use qfaxreader.
|
|
Back to top
|
|
 |
|