Hi Andy, > using imagemagick has solved my background problem thanks
I had a quick look at xloadimage's source; I don't think it handles transparent pixels at all. There's also netpbm to do the image composition, but I think it would take more steps. The transparency mask would be extracted to a PGM and then used, e.g. with pnmcomp(1). Cheers, Ralph. -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue