Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 11:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
multipage tiff viewer?
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [21 Posts]   Goto page: 1, 2 Next
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Thu 20 Mar 2008, 14:01    Post subject:  multipage tiff viewer?
Subject description: multipage tiff viewer needed for puppy
 

Woof Woof Cool

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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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.
Smile

I have no such tiff here, so I cannot test myself.

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: 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
mozilla-tiff-plugin-0.3.2-1.tar.gz
Description 
gz

 Download 
Filename  mozilla-tiff-plugin-0.3.2-1.tar.gz 
Filesize  13.11 KB 
Downloaded  463 Time(s) 

Last edited by muggins on Thu 27 Mar 2008, 21:14; edited 1 time in total
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 257

PostPosted: 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.
showtiff.gz
Description  Gzipped Perl script
gz

 Download 
Filename  showtiff.gz 
Filesize  437 Bytes 
Downloaded  452 Time(s) 
Back to top
View user's profile Send private message 
paulski

Joined: 06 Oct 2006
Posts: 127
Location: Cologne, Germany &/or Perth, Australia

PostPosted: 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
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Tue 24 Jun 2008, 22:14    Post subject:  

here are all the /usr/bin/tiff* files from pup2.16.
tiff-binaries.tar.gz
Description 
gz

 Download 
Filename  tiff-binaries.tar.gz 
Filesize  96.55 KB 
Downloaded  401 Time(s) 
Back to top
View user's profile Send private message 
paulski

Joined: 06 Oct 2006
Posts: 127
Location: Cologne, Germany &/or Perth, Australia

PostPosted: 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
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 28 Aug 2008, 07:47    Post subject:  

there's also qfaxreader

http://www.murga-linux.com/puppy/viewtopic.php?t=27406

Aitch Smile
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [21 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0790s ][ Queries: 12 (0.0066s) ][ GZIP on ]