When I receive email with tiff attachment, my default image viewer
'feh' can not handle it and I'm reluctant to install another image
viewer. Although I can save it and convert to pdf with command
$tiff2ps -a foo.tif | ps2pdf - > foo.pdf
How to automate this process within mutt so that it can conv
* bill lam on Sunday, November 09, 2008 at 16:13:54 +0800
> When I receive email with tiff attachment, my default image viewer
> 'feh' can not handle it and I'm reluctant to install another image
> viewer. Although I can save it and convert to pdf with command
> $tiff2ps -a foo.tif | ps2pdf - > foo
On Sun, 09 Nov 2008, Christian Ebert wrote:
> There's also tiff2pdf which would safe the detour via ps2pdf.
>
> Unfortunately piping to 'xpdf /dev/stdin' doesn't work in this
> case.
>
> But the following script does for me:
>
> $ cat muttiff.sh
> #!/bin/sh
>
> tf=`mktemp`
> # copy mutt's tempf