Path: utzoo!attcan!uunet!husc6!mailrus!cornell!uw-beaver!ssc-vax!cxsea!blm From: blm@cxsea.UUCP (Brian Matthews) Newsgroups: comp.lang.postscript Subject: Re: Help! What am I doing wrong here? Message-ID: <2566@cxsea.UUCP> Date: 18 Nov 88 18:16:27 GMT References: <4181@teklds.TEK.COM> Reply-To: blm@cxsea.UUCP (Brian Matthews) Organization: Computer X Inc. Lines: 21 Tim Stoehr (tims@teklds.TEK.COM) writes: |I'm having a problem with my first use of the 'image' operator. |20 20 1 [20 0 0 20 0 0] { [data] } image RTFM. From page 74 of the Postcript Language Reference Manual (the red book): "If bits/sample is less than 8 and width is not a multiple of the number of samples per character, there must be extra samples at the end of each row to fill up the last character. The values of the extra samples are not used; they are present only in order to align the data so that each row starts on a character boundary." In your case, bit/samples (1) is less than 8, and the width (20) isn't a multiple of the number of samples per character (8 / 1 = 8). Pad each line to 24 bits. -- Brian L. Matthews blm@cxsea.UUCP ...{mnetor,uw-beaver!ssc-vax}!cxsea!blm +1 206 251 6811 Computer X Inc. - a division of Motorola New Enterprises