delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/05/13:17:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <436CF71A.5000903@cwilson.fastmail.fm>
Date: Sat, 05 Nov 2005 13:16:58 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NetPbm - xwdtopnm???
References: <loom DOT 20051104T122322-127 AT post DOT gmane DOT org> <dkigod$k1s$1 AT sea DOT gmane DOT org>
In-Reply-To: <dkigod$k1s$1@sea.gmane.org>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019