home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / h / hercap10.zip / POMTED.DOC < prev    next >
Text File  |  1991-01-13  |  3KB  |  85 lines

  1.  
  2.  
  3.                            P O M T E D  1 . 0
  4.                            ==================
  5.  
  6.                          Poor Man's TIFF Editor
  7.  
  8.                        TapirSoft Gisbert W.Selke
  9.  
  10.                               January 1991
  11.  
  12.  
  13.  
  14. This is a rough-and-ready two-level black-and-white pixel graphics
  15. editor... Well, not quite even that.
  16.  
  17. It is a very simple means of editing a graphics file you have on disk in
  18. TIFF format. It converts the TIFF file into a (possibly Gargantuan) text
  19. file, which you can edit using your favourite text editor, and then
  20. converts the result back into a TIFF file. Easy, ne?
  21.  
  22.  
  23. Hence, the editing process has three stages:
  24.  
  25. (1) TIFF2CHR  < tiff-file  > text-file
  26.     where "tiff-file" has been replaced by the name of your TIFF file,
  27.     complete with extension, and "text-file" by some new name.
  28.  
  29. (2) Use your text editor, or word processor, to manipulate the file
  30.     created by (1) above. Or print it, probably using the smallest font
  31.     available on your printer. Then save the text file; make sure the
  32.     output is plain ASCII and contains no word processor information.
  33.     (For the contents of the first line, cf. below.)
  34.  
  35. (3) CHR2TIFF  < text-file  > new-tiff-file
  36.     where "text-file" is the name of the file written in (2) above, and
  37.     "new-tiff-file" is a file with extension TIF. You may want to use a
  38.     new name for this, just to make sure.
  39.  
  40.  
  41. That's it!
  42.  
  43.  
  44. A few more remarks:
  45.  
  46. The first line of the text file contains the picture's dimensions, first
  47. width, then height. This gives you control over the resulting picture's
  48. size. If you change just a few pixels, you'll probably want to leave the
  49. size values unchanged; but you can use them to trim off excess space on
  50. the right and the bottom.
  51.  
  52. If your picture is smaller than the sizes specified, blank space will be
  53. padded.
  54.  
  55. The rule is that each character in the text file corresponds to one
  56. pixel. Black pixels correspond to the space character; white pixels are
  57. mapped to asterisks by TIFF2CHR. CHR2TIFF, on the other hand, will
  58. accept all non-blank characters for white pixels.
  59.  
  60. Note that the text file can be quite large, so your editor/word
  61. processor must be able to handle large files.
  62.  
  63. Error handling is only rudimentary; beware of full disks.
  64.  
  65. For the technically-minded: TIFF2CHR can read run-length encoded TIFF
  66. files, but none of the more sophisticated compressed formats. CHR2TIFF
  67. will always produce unpacked files.
  68.  
  69. Colour and greyscale TIFF files are not supported by POMTED 1.0, nor
  70. will they ever be. If you want something more sophisticated, use a more
  71. sophisticated programme.
  72.  
  73. These programmes may be used and copied freely, while I retain the
  74. copyright.
  75.  
  76.  
  77. In case of problems, questions, suggestions, get in touch with me at
  78.  
  79. TapirSoft
  80. Gisbert W.Selke
  81. Ermekeilstr. 28
  82. D-5300 Bonn 1
  83. Germany
  84.  
  85.