[comp.windows.x] Size of XImages

jpaparel@hawk.ULowell.EDU (Joseph Paparella) (05/09/90)

	How can you determine the size of an XImage?
   I am trying to copy the data from an Ximage to a
   character string.  I have tried using strlen to
   determine the size, but when a zero is encountered
   in the data, strlen terminates.  I have also tried
   to take the product of image width and height and
   divide by the bitmap pad, but this didn't work
   either.  Any help would be greatly appreciated.
   Please reply directly via e-mail.

			Joseph Paparella
		 	jpaparel@hawk.ulowell.edu