multipage tiff viewer?
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
multipage tiff viewer?
Woof Woof
I need a Tiff viewer (multipage) is any tiff viewer already in Puppy or not? thanks for any help
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
dropbox 2GB free
OpenOffice for Puppy Linux
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?
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
Mark
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?
# 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: Select all
#!/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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
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
dropbox 2GB free
OpenOffice for Puppy Linux
http://linuxgazette.net/138/misc/lg/mul ... _file.html
So my simple drag'n'drop script might work.
I have no such tiff here, so I cannot test myself.
Mark
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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
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.
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.
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
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
- Attachments
-
- mozilla-tiff-plugin-0.3.2-1.tar.gz
- (13.11 KiB) Downloaded 769 times
Last edited by muggins on Fri 28 Mar 2008, 01:14, edited 1 time in total.
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.
- Attachments
-
- showtiff.gz
- Gzipped Perl script
- (437 Bytes) Downloaded 763 times
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?
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?
here are all the /usr/bin/tiff* files from pup2.16.
- Attachments
-
- tiff-binaries.tar.gz
- (96.55 KiB) Downloaded 770 times
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!
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!
Sorry...I guess I was just responding to whether the binaries worked in Dingo rather than looking for a fix. When running tiff2pdf, it started out okay, and then got stuck:muggins wrote: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.
Code: Select all
2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c
bash: 2c1: command not found
Code: Select all
TIFFReadDirectory: Warning, /mnt/hda3/MyFiles/Psychology/Cred Pkt.tif: unknown field with tag 50221 (0xc42d) encountered.
Thanks...that works nicely (with qt3.3.8 )Aitch wrote:there's also qfaxreader
@jpeps,
I don't know what all those 2c1's mean, but I just rebooted into pup4, downloaded this tiff image, then successfully created a .pdf using tiff2pdf. I also had success using:
sam2p dscf1665.tiff dscf1665.pdf
I don't know what all those 2c1's mean, but I just rebooted into pup4, downloaded this tiff image, then successfully created a .pdf using tiff2pdf. I also had success using:
sam2p dscf1665.tiff dscf1665.pdf
Ah...that was the problem; you have to specify the output file or it spits out garbage, as you say. I still got a bunch of warnings, but the resulting pdf appears okay.paulski wrote:Jpeps,
what are you using on the command line for tiff2pdf.
You need to specifiy the options or it outputs garbage to the terminal
Example:
tiff2pdf -f -o outputfile.pdf inputfile.tif
Its not as intuitive as some may think.
With tiffsplit, there are no options, so you can't specify an output file. I found the output files in /root.
Edit: This worked: tiffsplit file.tif output/dir
Maybe useage could be included in man tiffsplit ?
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi all,
Tschuss Mark,
and NOT this
Cheers
Charlie
Tschuss Mark,
I had to use tiff2pdf this way to get a result:MU wrote:cd /usr/bin/
ls -1 tiff*
I get:
tiff2bw
tiff2pdf
tiff2ps
tiff2rgba
tiffcmp
tiffcp
tiffdiff
tiffdither
tiffdump
tiffgt
tifficc
tiffinfo
tiffmedian
tiffset
tiffsplit
tifftopnm
Mark
Code: Select all
# tiff2pdf file.tiff -o file.pdf
# ls
# file.tiff file.pdf
#
Code: Select all
# tiff2pdf -o file.tiff file.pdf
Charlie