NetPbm - xwdtopnm???

Charles Wilson cygwin@cwilson.fastmail.fm
Sat Nov 5 18:17:00 GMT 2005


René Berber wrote:
> Vincent Nauwelaers wrote:
>>The ppmto... and pnmto... all seem to work, but "_ xwdtojpg _" the only method
>>to convert XWD-files doesn't seem to be there!
>>
>>Am I doing something wrong ? Am I forgetting something ?
 >
> BTW in Netpbm 10.28 (the last I compiled) there is no xwdtojpg, but there is
> xwdtopnm and pnmtojpeg.

The whole design of the netpbm suite of conversion tools is that they 
convert {your-format} to {netpbm-format} and vice versa.  That way, only 
2*N converters are needed, in order to perform any conversion between N 
different formats: e.g.

   xwd -> pnm -> jpg

requires xwdtopnm, and pnmtojpeg.  Thus, it's not surprising that netpbm 
doesn't explicitly provide 'xwdtojpg'.  A converter system designed 
along those lines would need N^2 different converters to do the job that 
netpbm does with only 2*N converters.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list