[TAG] Eml to tiff converter
Ben Okopnik
ben at linuxgazette.net
Fri Aug 8 20:08:42 MSD 2008
On Fri, Aug 08, 2008 at 06:27:10AM +0100, Thomas Adam wrote:
> On Fri, 08 Aug 2008 08:12:51 +0530
> Raj Shekhar <rajlist2 at rajshekhar.net> wrote:
>
> > in infinite wisdom Kat Tanaka Okopnik spoke thus On 08/04/2008 11:33
> > > I think I *finally* understand your initial question. You want to
> > > take something which is an .html file, and turn it into an image?
> >
> > Yes, you can take a text file and convert it into an image. Please
>
> But a text file is not -HTML-, and you can't use imagemagick to do that
> -- so it requires a little more thought.
You could always use Netscape/Mozilla's "Save" dialog to save the page
as a PostScript file and convert that to an image (assuming that you
don't consider a PS file to be an image in the first place.) You *used*
to be able to script that kind of thing, something like this:
``
#!/bin/bash
$out=${1%html}ps
mozilla -remote "OpenURL(file://`pwd`/$1)"
mozilla -remote "saveAs($out,PostScript)"
sleep 1
convert $out ${out%ps}png
''
Alas, no longer. Mozilla/Firefox/etc. decided, in their [inf|et]ernal
wisdom, that the '-remote' command needs to be gutted - and they have.
Which makes the whole kit'n'kaboodle of them much less useful.
--
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
More information about the TAG
mailing list