madd@world.std.com (jim frost) (09/27/90)
Archive-name: xloadimage/26-Sep-90 Original-posting-by: madd@world.std.com (jim frost) Original-subject: new version of xloadimage available Archive-site: expo.lcs.mit.edu [18.30.0.212] Archive-directory: /contrib Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti) A friend of mine suggested that I ought to announce the new version of xloadimage on this forum as well as the others I currently follow, so here we go. Xloadimage version 2.0 is now available by anonymous ftp from expo.lcs.mit.edu in /contrib/xloadimage.2.0.tar.Z. It will show up on comp.sources.x in the near future. If you don't have access to either of these sources, I can email a copy to you but beware that it's a 375k distribution in 9 shar files. If you are unfamiliar with xloadimage, it is a utility designed to display a wide range of image formats on a wide range of X11 displays, doing whatever processing is necessary to display the image automatically. A number of image processing functions such as zooming, gamma equalization, and smoothing are also available. The following help listing shows most of the capabilities: Usage: xloadimage [global options] {[image options] image_name ...} Global options: -onroot - load image onto root window -border colorname - border image with this color -display dispname - destination display -fullscreen - use entire screen for display -geometry WxH+X+Y - destination size and location -help - print this help message -identify - identify given images -list - list images in path -install - explicitly install colormap -path - show image path for loading -quiet - silence is golden -slideshow - show images in slideshow style -supported - show supported image types -verbose - whistle while you work -version - show version and patchlevel -view - view image in a window Image_options: -at X,Y - load image at location -background colorname - background color for bitmap images -gamma display_gamma - specify display gamma - default = 1.0 - typical display needs 2.0 - 2.5 -brighten percentage - specify brightness multiplier -center - center image -colors number - specify maximum number of RGB colors -clip X,Y,W,H - use clipped portion of image -dither - dither color image to bitmap image -foreground colorname - foreground color for bitmap images -halftone - halftone a color image to bitmap image -name name - force next argument to be image name -rotate degrees - rotate an image by a 90 degree angle -smooth - smooth a color image -xzoom percentage - zoom the X axis by a percentage -yzoom percentage - zoom the Y axis by a percentage -zoom percentage - zoom the image by a percentage The image types supported by version 2.0 are: FBM Image Sun Rasterfile CMU WM Raster Portable Bit Map (PBM) Faces Project GIF Image Utah RLE Image X Window Dump MacPaint Image X Pixmap X Bitmap G3 FAX Image Unlike previous versions of xloadimage, version 2.0 now supports all of the PBMPLUS formats. Happy hacking, jim frost saber software jimf@saber.com