revision 1.45 date: 2000/08/28 16:17:14; author: gumley; state: Exp; lines: +68 -34 Added NEGATIVE keyword to allow photographic negatives to be displayed. Updated examples to use ERASE keyword, and demonstrate PostScript output. ---------------------------- revision 1.44 date: 2000/08/02 17:15:59; author: gumley; state: Exp; lines: +4 -4 Fixed axis range endpoints ---------------------------- revision 1.43 date: 2000/08/01 17:48:07; author: gumley; state: Exp; lines: +23 -7 Added AXIS keyword support for PostScript and Printer devices. ---------------------------- revision 1.42 date: 2000/08/01 16:16:57; author: gumley; state: Exp; lines: +4 -9 Added an example of AXIS keyword usage. ---------------------------- revision 1.41 date: 2000/08/01 16:13:26; author: gumley; state: Exp; lines: +29 -4 Added AXIS keyword for axis overlay on image ---------------------------- revision 1.40 date: 2000/04/29 15:15:35; author: gumley; state: Exp; lines: +12 -12 Updated interpolation to Markwardt CMCONGRID method; fixed erase keyword ---------------------------- revision 1.39 date: 2000/04/25 20:27:30; author: gumley; state: Exp; lines: +11 -7 Now checks for IDL 5.2 when PRINTER device is selected ---------------------------- revision 1.38 date: 2000/04/20 14:29:18; author: gumley; state: Exp; lines: +44 -30 Changed output scaling range for TrueColor images to 0-255 (was 0-254). Added BACKGROUND keyword to allow background color to be set. Added ERASE keyword to allow screen erase before image is displayed. Modified re-gridding algorithm to match C. Markwardt's CMCONGRID method. ---------------------------- revision 1.37 date: 2000/04/18 01:49:12; author: gumley; state: Exp; lines: +22 -27 CHANNEL keyword is now supported only on 24-bit devices (WIN, MAC, X) ---------------------------- revision 1.36 date: 2000/04/17 15:47:45; author: gumley; state: Exp; lines: +37 -3 In IMDISP_RESIZE, array is not re-gridded if it's already the correct size. Added an example where only the image offset and size are known. ---------------------------- revision 1.35 date: 2000/04/17 15:12:32; author: gumley; state: Exp; lines: +78 -35 Updated and polished the prolog. CHANNEL keyword supported by all devices, except PS and Z (which ignore it) ---------------------------- revision 1.34 date: 2000/04/17 02:27:44; author: gumley; state: Exp; lines: +10 -4 BOTTOM and NCOLORS keywords are now set after check for open graphics window ---------------------------- revision 1.33 date: 2000/03/20 22:07:46; author: gumley; state: Exp; lines: +6 -8 Added ROUND to x0, y0, xsize, ysize computation in IMDISP_IMSIZE ---------------------------- revision 1.32 date: 2000/03/14 16:24:01; author: gumley; state: Exp; lines: +15 -15 Polished code, add OVERWRITE keyword to REFORMS ---------------------------- revision 1.31 date: 2000/03/02 22:26:19; author: gumley; state: Exp; lines: +5 -5 Changed !p.multi test because map_set modifies !p.multi[0] ---------------------------- revision 1.30 date: 2000/03/01 22:06:49; author: gumley; state: Exp; lines: +16 -4 Added explicit checking of POSITION vector ---------------------------- revision 1.29 date: 2000/02/28 15:50:02; author: gumley; state: Exp; lines: +10 -2 Added example for USEPOS keyword ---------------------------- revision 1.28 date: 2000/02/28 15:45:15; author: gumley; state: Exp; lines: +9 -7 Removed redundant MARGIN limit check; Added POSITION size check ---------------------------- revision 1.27 date: 2000/02/28 15:36:09; author: gumley; state: Exp; lines: +18 -5 Added USEPOS keyword to force image to fit POSITION window ---------------------------- revision 1.26 date: 2000/02/05 17:23:40; author: gumley; state: Exp; lines: +18 -5 Added argument checking for IMDISP_IMSIZE ---------------------------- revision 1.25 date: 2000/02/04 16:10:16; author: gumley; state: Exp; lines: +55 -19 Added RANGE keyword; Added plot overlay example; Polished prolog ---------------------------- revision 1.24 date: 2000/01/14 03:36:55; author: gumley; state: Exp; lines: +7 -3 Added n_params() checks to internal functions ---------------------------- revision 1.23 date: 2000/01/11 04:26:28; author: gumley; state: Exp; lines: +17 -15 Fixed MARGIN setting when POSITION is specified ---------------------------- revision 1.22 date: 1999/12/22 15:35:50; author: gumley; state: Exp; lines: +40 -36 Updated the prolog ---------------------------- revision 1.21 date: 1999/12/22 15:15:03; author: gumley; state: Exp; lines: +5 -5 Removed LJ and REGIS devices; Added margin range check ---------------------------- revision 1.20 date: 1999/12/20 22:46:30; author: gumley; state: Exp; lines: +10 -4 Replaced demo_getdata with openr, readu, free_lun calls in example ---------------------------- revision 1.19 date: 1999/12/20 22:08:27; author: gumley; state: Exp; lines: +4 -4 Margins now limited to 0.495 maximum ---------------------------- revision 1.18 date: 1999/12/20 18:56:58; author: gumley; state: Exp; lines: +47 -16 PRINTER device does not have scaleable pixels: it is now handled separately. Tested all graphics devices which can display images (i.e. can use TV). Improved readability (separated bit depth detection, decomposed mode, display). ---------------------------- revision 1.17 date: 1999/12/20 00:36:06; author: gumley; state: Exp; lines: +23 -21 Fixed PRINTER positioning ---------------------------- revision 1.16 date: 1999/12/19 22:47:07; author: gumley; state: Exp; lines: +34 -20 Added ORDER keyword; Improved decomposed color and PRINTER device handling ---------------------------- revision 1.15 date: 1999/12/19 20:01:28; author: gumley; state: Exp; lines: +25 -18 Now uses deomposed color mode on 24-bit displays ---------------------------- revision 1.14 date: 1999/11/19 21:03:01; author: gumley; state: Exp; lines: +19 -19 More code polishing ---------------------------- revision 1.13 date: 1999/11/19 20:56:20; author: gumley; state: Exp; lines: +21 -9 Changed default margin to 0.025 when !P.MULTI is non-zero Added detection of visual depth in IDL versions 5.1 and higher If a window has not been opened in the session, a window is opened ---------------------------- revision 1.12 date: 1999/11/18 20:27:15; author: gumley; state: Exp; lines: +3 -2 Added a blank line ---------------------------- revision 1.11 date: 1999/11/18 20:21:37; author: gumley; state: Exp; lines: +249 -17 Inlined all required functions and procedures Added GPL copyright notice Added examples Renamed all inlined functions and procedures with IMDISP_ prefix ---------------------------- revision 1.10 date: 1999/11/18 18:32:16; author: gumley; state: Exp; lines: +123 -11 Added prolog; removed extra keywords ---------------------------- revision 1.9 date: 1999/11/18 16:24:20; author: gumley; state: Exp; lines: +29 -29 Polished code ---------------------------- revision 1.8 date: 1999/11/18 15:30:21; author: gumley; state: Exp; lines: +19 -13 Added DITHER and NORESIZE keywords ---------------------------- revision 1.7 date: 1999/11/17 21:50:54; author: gumley; state: Exp; lines: +12 -1 Now sets and restores the decomposed color state ---------------------------- revision 1.6 date: 1999/11/17 21:25:02; author: gumley; state: Exp; lines: +30 -22 Now uses IMREGRID to resize images, added INTERP keyword ---------------------------- revision 1.5 date: 1999/11/15 22:58:08; author: gumley; state: Exp; lines: +2 -0 Added RCS keywords ---------------------------- revision 1.4 date: 1999/11/15 21:03:17; author: gumley; state: Exp; lines: +133 -64 First functional version ---------------------------- revision 1.3 date: 1999/09/09 15:24:51; author: gumley; state: Exp; lines: +1 -2 Now uses decomposed=1 for TrueColor images on 24-bit displays ---------------------------- revision 1.2 date: 1999/09/09 14:32:34; author: gumley; state: Exp; lines: +82 -69 Cleaned up ---------------------------- revision 1.1 date: 1999/04/05 19:57:57; author: gumley; state: Exp; First version