home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / apps / 851 < prev    next >
Encoding:
Text File  |  1992-08-27  |  975 b   |  28 lines

  1. Newsgroups: comp.windows.x.apps
  2. Path: sparky!uunet!noc.near.net!gateway!miki!oj
  3. From: oj@miki.pictel.com (Oliver Jones)
  4. Subject: Re: Pixmaps: XY or Z ?
  5. Message-ID: <1992Aug27.132413.3248@miki.pictel.com>
  6. Organization: PictureTel Corporation
  7. References: <1992Aug26.070958.10963@walter.cray.com>
  8. Date: Thu, 27 Aug 1992 13:24:13 GMT
  9. Lines: 17
  10.  
  11. In article <1992Aug26.070958.10963@walter.cray.com> vincent@cadillac.cray.com (Vincent LE BARAZER) writes:
  12.  
  13. > What is the difference between XYPixmap and ZPixmap ?
  14.  
  15. You can think of an XYPixmap-format XImage as a vector of bitmaps,
  16. whereas you can think of a ZPixmap-format XImage as a two-dimensional
  17. array of pixel values.
  18.  
  19. >When using XGetImage, it seems that ZPixmaps makes it run faster
  20. >than XYPixmaps ..??
  21.  
  22. Well, many color servers have a "natural" pixmap format which looks
  23. like ZPixmap.  If you ask such servers to deliver XYPixmap-format
  24. XImages, the bits in the image have to be reformatted.  This takes
  25. time.
  26.  
  27. Ollie Jones
  28.