diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-11-11 04:56:41 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-11-11 04:56:41 +0000 |
commit | 2ebecf236f9c3ef503bb3f0fa3b3a7fa41e6d990 (patch) | |
tree | 6bfd0f6b3d5eb95364065297b9f5573e627cdf33 /netpbm.c | |
parent | b9634d1785ce7be54955caf0dbd3e53d7b169b3b (diff) | |
download | netpbm-mirror-2ebecf236f9c3ef503bb3f0fa3b3a7fa41e6d990.tar.gz netpbm-mirror-2ebecf236f9c3ef503bb3f0fa3b3a7fa41e6d990.tar.xz netpbm-mirror-2ebecf236f9c3ef503bb3f0fa3b3a7fa41e6d990.zip |
Add alternate invocation name for 'pnmnoraw', 'pnmtopnm', 'ppmnorm', 'ppmtotga'
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3424 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'netpbm.c')
-rw-r--r-- | netpbm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/netpbm.c b/netpbm.c index 4b0cb1cd..03f4099d 100644 --- a/netpbm.c +++ b/netpbm.c @@ -80,16 +80,21 @@ main(int argc, char *argv[]) { TRY("ppmnorm", main_pnmnorm); TRY("ppmtotga", main_pamtotga); TRY("ppmtouil", main_pamtouil); + TRY("pnmnoraw", main_pnmtoplainpnm); + TRY("pnmtopnm", main_pamtopnm); + TRY("ppmnorm", main_pnmnorm); + TRY("ppmtotga", main_pamtotga); /* We don't do the ppmtojpeg alias because if user doesn't have a JPEG library, there is no main_pnmtojpeg library. The right way to do this is to have these TRY's generated by the subdirectory makes, which would know whether pnmtojpeg was built into the merged binary - or not. But that's too much work. Same with TIFF converters. + or not. But that's too much work. Same with TIFF and PNG converters. TRY("ppmtojpeg", main_pnmtojpeg); TRY("pngtopnm", main_pngtopam); TRY("pnmtotiff", main_pamtotiff); + TRY("pamrgbatopng", main_pamtopng); */ fprintf(stderr,"'%s' is an unknown Netpbm program name \n", cp ); |