Re: FVWM: trouble using AspectPixmap ...

From: Cameron Simpson <cs_at_zip.com.au>
Date: Thu, 28 Nov 2002 10:05:34 +1100

On 22:14 27 Nov 2002, IPM Return requested <cs_at_zip.com.au> wrote:
| Bearing in mind this seems to be working here at home,
| further investigation at work tomorrow:-(

And now it's working at work, too. :-(

My prime suspect here is ImageMagick's mogrify, which I'm using to
convert JPEGs to PNG. (I was doing the colouring with mogrify too,
which is why I wasn't using "djpeg | pnmtopng").

I've discovered that the RedHat version (5.3.8) dumps core on several
files. After installing 5.5.1 it no longer dumps core, but does emit a
file whose name consists of random binary bytes instead of the supposed
"foo.PNG".

I've hacked my scripts to work around this latter:

        cp foo.jpg tmpdir/.
        cd tmpdir || exit 1
        mogrify -format PNG foo.jpg || exit 1
        rm -f foo.jpg
        mv ./* foo.PNG
        ... tell fvwm to load the image ...

which is nice and robust.

And now it all seesms good. No troubles on the fvwm side at all.

Cheers,
-- 
Cameron Simpson, DoD#743        cs_at_zip.com.au    http://www.zip.com.au/~cs/
Surely it was of this place, now Cambridge but formerly known by the name of
Babylon, that the prophet spoke when he said, 'the wild beasts of the desert
shall dwell there, and their houses shall be full of doleful creatures, and
owls shall build there, and satyrs shall dance there.'
	- Thomas Gray (1716-1771)
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 27 2002 - 17:06:55 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST