[comp.windows.x] Looking for X Server Extension for Pixel Replication

johnston@ADS.COM (Scott E. Johnston) (10/18/90)

Is there an extension to the X Server available that supports the
oversampling (and undersampling) of pixels?  The corresponding
"Xlib" call might be a variant on XPutImage:

	XZoomImage(display, drawable, gc, image, src_x, src_y,
	           dst_x, dst_y, width, height, xfactor, yfactor )

xfactor and yfactor would be the integer replication factors.  Factors
greater than 1 would zoom an image, factors less than -1 would dezoom
an image (0,-1, and 1 would be defined to have no effect).

If so, where might it be available, and any impressions on the
difficulty of integrating an extension into our server?  Thanks.

Scott E. Johnston
Advanced Decision Systems
Mt. View, CA  94043
(415) 960-7497

mouse@LARRY.MCRCIM.MCGILL.EDU (10/20/90)

> Some of the public domain graphics utilities (xgif, PBM, etc.) have
> code you can steal.

PBM is public domain?  I'm sure Jef Poskanzer would be interested to
know that.  Our copy has copyright notices all over it.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu