/man/cxpm.man
text | 49 lines | 49 code | 0 blank | 0 comment | 0 complexity | 76ed48ae11d804e22d932fd46fe82f9d MD5 | raw file
1.\"Copyright (C) 1998 Arnaud LE HORS 2.\" 3.\"Permission is hereby granted, free of charge, to any person obtaining a copy 4.\"of this software and associated documentation files (the "Software"), to 5.\"deal in the Software without restriction, including without limitation the 6.\"rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7.\"sell copies of the Software, and to permit persons to whom the Software is 8.\"furnished to do so, subject to the following conditions: 9.\" 10.\"The above copyright notice and this permission notice shall be included in 11.\"all copies or substantial portions of the Software. 12.\" 13.\"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14.\"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15.\"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 16.\"Arnaud LE HORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17.\"IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18.\"CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19.\" 20.\"Except as contained in this notice, the name of Arnaud LE HORS shall not be 21.\"used in advertising or otherwise to promote the sale, use or other dealings 22.\"in this Software without prior written authorization from Arnaud LE HORS. 23.\" 24.nr )S 12 25.TH CXPM __appmansuffix__ __xorgversion__ 26.PD 27.ad b 28.SH NAME 29cxpm \- Check an XPM (X PixMap) file - XPM 1, 2, or 3. 30.SH SYNOPSIS 31\fBcxpm\fR 32[\|\fIfilename\fP\|] 33.SH DESCRIPTION 34.PP 35The \fBcxpm\fP program can be used to check the format of any XPM (version 1, 2, 36or 3) file. On error, unlike \fBsxpm\fR, \fBcxpm\fR prints out an error message 37indicating where the parser choked. This should help finding out what's wrong 38with an XPM file but do not expect too much from it though. This is not even 39close from being some kind of lint program for XPM. First, it stops at the 40first error it encounters - so several fix and retry cycles may be necessary to 41get your file to parse successfully. Second, \fBcxpm\fP only cares about 42the format. If, for instance, your pixmap uses too many colors for your system 43you still may experience difficulties displaying it. Be warned. 44.PP 45When no \fIfilename\fP is given \fBcxpm\fR reads from the standard input. 46.SH AUTHOR 47Arnaud Le Hors (lehors@sophia.inria.fr) 48.br 49Copyright (C) 1998 by Arnaud LE HORS.