This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NetPbm - xwdtopnm???


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]