Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Zooming Pixmaps Message-ID: <1991Mar5.095624@wsl.dec.com> Date: 5 Mar 91 17:56:24 GMT References: <9103042146.AA09381@neuro_dev.mayo.EDU> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 16 In article <9103042146.AA09381@neuro_dev.mayo.EDU>, kall@mayo.EDU (Bruce Kall) writes: |> What is the fastest and most convenient way to zoom (pixel replication |> would be sufficient) a 128x128 Pixmap into a 512x512 pixmap (4x zoom)? |> |> I know how to do it in XImages. If you're using the X imaging extension (XIE), you can do your operations in the server. If not, you'll have to convert the pixmap to an image, perform your transformation, then convert the resultant image to a new pixmap. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee