home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / mac / viewers / vislab10.sit / Vision_Lab_Help.bin / Vision Lab Help.rsrc / Thlp_2812_GrayMapFile < prev    next >
Encoding:
Text File  |  1988-06-24  |  2.2 KB  |  62 lines

  1.   ┬~F3~~s12~~SB~~SU~~C~GrayMapFile:~SP~
  2. ~L~~s9~
  3. ~SB~What is a GrayMapFile?:~SB~
  4.  
  5. A GrayMapFile is a text file created with the ThunderScan ~SU~4.0~SU~ software.  To create a GrayMapFile with ThunderScan you would select an area of the image, hold down the command and option keys, and halftone it.  This will produce a text file on your disk called ╥GrayMapFile.╙
  6.  
  7. ~SB~Opening GrayMapFiles:~SB~
  8.  
  9. Vision Lab can open GrayMapFiles created with ThunderScan software version 4.0.  It can also open any text or EPSF file that contains data in the GrayMapFile format.  The format of a GrayMapFile is simple:
  10.  
  11. {Optional Text; possible PostScript code, header information, etc.}
  12. {ASCII Hexadecimal Data; the actual image.}
  13. {Optional Text; possible PostScript code, trailer information, etc.}
  14.  
  15. Each scan line of the actual image must end with a single return character and contain an even number of ASCII characters.
  16.  
  17. An example file in the GrayMapFile format would be:
  18.  
  19. ~F4~imageturkey
  20. 003B00
  21. 002700
  22. 002480
  23. 0E4940
  24. 114920
  25. 14B220
  26. 3CB650
  27. 75FE88
  28. 17FF8C
  29. 175F14
  30. 1C07E2
  31. 3803C4
  32. 703182
  33. F8EDFC
  34. B2BBC2
  35. BB6F84
  36. 31BFC2
  37. 18EA3C
  38. 0E3E00
  39. 07FC00
  40. 03F800
  41. 1E1800
  42. 1FF800
  43. grestore
  44. showpage~F3~
  45.  
  46. The above will load as 1 bit (black and white).  It is a fragment of the example PostScript program number six from ╥PostScript Language Tutorial and Cookbook╙ from Adobe Systems Incorporated.
  47.  
  48. ~SB~Saving GrayMapFiles:~SB~
  49.  
  50. Vision Lab does ~SU~not~SU~ allow you to save GrayMapFiles.
  51.  
  52. ~SB~GrayMapFile Preferences╔:~SB~
  53.  
  54. If ~SB~1 Bit (Black and White)~SB~ is selected the ASCII data will be loaded as 8 pixels, either ╥on╙ or ╥off╙, per pair of ASCII digits.  If ~SB~4 Bit (16 gray levels; ThunderScan¬)~SB~ is selected the ASCII data will be loaded as 2 pixels, up to 16 gray levels each, per pair of ASCII digits.  If ~SB~8 Bit (256 gray levels)~SB~ is selected then each pair of ASCII digits will be loaded as a single pixel with up to 256 gray levels.
  55.  
  56. ~SB~Pros:~SB~
  57.  
  58. GrayMapFiles loaded from ThunderScan may yield a slightly higher quality image than the SCAN files.  ~SU~Some~SU~ EPSF files can be loaded in to Vision Lab.
  59.  
  60. ~SB~Cons:~SB~
  61.  
  62. GrayMapFiles are very large.  ThunderScan GrayMapFiles contain only 16 levels of gray instead of the maximum of 32 found in the SCAN files.