Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ken From: ken@rochester.ARPA (Ken Yap) Newsgroups: comp.windows.x Subject: Re: xsize -- arbitrarily resize an X window Message-ID: <28108@rochester.ARPA> Date: Wed, 27-May-87 11:47:03 EDT Article-I.D.: rocheste.28108 Posted: Wed May 27 11:47:03 1987 Date-Received: Fri, 29-May-87 06:17:31 EDT References: <12745.549091397@gremlin.nrtc.northrop.com> Reply-To: ken@rochester.UUCP (Ken Yap) Distribution: world Organization: U of Rochester, CS Dept, Rochester, NY Lines: 20 In article <12745.549091397@gremlin.nrtc.northrop.com> mrose@gremlin.nrtc.northrop.COM (Marshall Rose) writes: | | Hi. If you've been using the X window dump to imagen laser program | I mentioned a couple of weeks ago, you may have noticed strange | behavior on the Imagen when it prints the right edge of the window | dump. This apparently happens if the dump isn't a multiple of | 32-bits wide. The Imagen processor likes bitmaps to be in "patches" | which are 32-bits wide and tends to pad with a strange pattern when | given bitmaps which are otherwise legitimate. | | The solution of course is to make your window dumps an integral | multiple of 32-bits wide. The way to do that is to resize the | window prior to dumping it, generating an ExposeWindow event so the Actually in a version of xipr (with a different ancestry) that I modified, I made xipr copy the window image to a different buffer, padding to a longword boundary in both directions with zero bits. More transparent to the user that way. Ken