lext_read_image_c (ul_lextools)

	status.i4.v = lext_read_image_c(image_file.ch.d, image_number.i4.v,
					image_buffer.i1a.r)

	This routine reads a Lex Draw image into a user-supplied buffer.

	image_file	Lex Draw file (LEXT_LD_NAMLEN characters)
	image_number	Lex Draw image number
			(must be a value between LEXT_MIN_IMAGE and
			 LEXT_MAX_IMAGE)
	image_buffer	returned Lex Draw image buffer (LEXT_IMAGE_SIZE bytes)

	This function returns ACNET status values as follows:

	CBS_OK			success
	CBS_INVARG		invalid image number
	CBS_CORRUPT		image buffer is corrupt
	CBS_INVSIZ		stored image is too large
	FSHARE_xxx		error accessing image file

	This function requires the following include files:

	ul_lextools_h:lextuti_h, acnet_errors_h

	Related functions:

	lext_save_image_c, lext_image_menu_c, lximag

	C usage:

	static const char	image_file[LEXT_LD_NAMLEN+1] = "XXXXXXXX";
	char	image_buffer[LEXT_IMAGE_SIZE];
	int	status;
	int	image_number = IMAGE_NUMBER;

	status = lext_read_image_c(image_file,image_number,image_buffer);