home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / datatypes / macpaint_dt / readme < prev    next >
Encoding:
Text File  |  1997-07-12  |  3.1 KB  |  81 lines

  1. macpaint.datatype Version 43.1 (10-Jul-97)
  2.  
  3. Written by TetiSoft@apg.lahn.de (Detlef Wuerkner)
  4.  
  5. This is public domain.
  6.  
  7.  
  8.  
  9. It's a datatype for MacPaint picture format. MacPaint pictures are
  10. black & white, 720 * 576 pixels.
  11.  
  12. Written to replace macpaint.datatype 42.1 from CBM
  13. (Aminet util/dtype/picdt_42_1.lha). I found two bugs in it:
  14.  
  15. 1) The descriptor hook-function didn't recognize all MacPaint pictures,
  16.    but declared a large number of other files as MacPaint pics. The
  17.    new descriptor from Erik Engdahl (Aminet util/dtype/MacPict2_dtc.lha)
  18.    was better, but recognized also Compugraphic fonts as MacPaint.
  19.    My descriptor checks deeper: It tests if the data is packed with
  20.    the PackBits procedure.
  21.  
  22. 2) With SetPatch43.6 installed, the old macpaint.datatype produces
  23.    completely black pictures (at least on my system). With
  24.    SetPatch 40.16 it worked. My version doesn't have this problem.
  25.  
  26. Since MacPaint pictures are black and white only, this datatype should
  27. work with every version of picture.datatype, the version number "43.1"
  28. was choosen to force version-number-freaks to update, not to imply
  29. that special features of 24-bit-datatypes would be used :-)
  30.  
  31. Most part of the source code is based on the source of samplePNM.datatype
  32. by Andreas R. Kleinert (V43.6 (27.3.97)). Thanks to Andreas! It's code
  33. can be found on Aminet in dev/c/C_V43DT.lha. Let me cite him:
  34.  
  35.   You may e.g. use this example source code to write more portable
  36.   Amiga OS 3 datatypes to allow easier porting of these
  37.   to other Amiga OS-derived operating systems, or the native
  38.   OS of an upcoming PowerPC Amiga.
  39.  
  40. The file Source/Part_of_libfuncs.c contains the changed file
  41. decoding function, adopted for MacPaint format. The source code
  42. for the hook-function can be found in Source/MacPaintCheck_Hard.c,
  43. the compiled binary is named Source/MacPaintCheck_Hard. When playing
  44. around with "dtdesc", you always must load the function
  45. Source/MacPaintCheck_Hard before saving, otherwise dtdesc won't
  46. remember it!
  47.  
  48.  
  49.  
  50. Installation of macpaint.datatype:
  51. ----------------------------------
  52. If you already have installed CBM's macpaint.datatype, make a backup
  53. of devs:datatypes/MacPaint and sys:classes/datatypes/macpaint.datatype.
  54. Just in case this version would not work as desired :-)
  55.  
  56. Copy macpaint.datatype to SYS:Classes/Datatypes/
  57. Copy MacPaint and MacPaint.info to devs:datatypes/
  58. Double-click the MacPaint-Icon (or reboot to be sure AddDatatypes
  59. works correct).
  60.  
  61. Sample Pictures for testing if everything works can be found on Aminet in
  62. util/dtype/MacPict2_dtc.lha.
  63.  
  64.  
  65.  
  66. If you have problems with file recognition, you can replace the descriptor
  67. in devs:datatypes/ with CBM's or Erik's version. If the picture viewing 
  68. doesn't work, try to replace the datatype in sys:classes/datatypes/
  69. with the CBM version. In both cases, please send me a bug-report!
  70.  
  71. This datatype is tested to work with '060, Cyberguard, MungWall and
  72. Cybergraphics, but due to the low amount of testpics,
  73. there maybe some bugs left.
  74.  
  75.  
  76.  
  77. Happy datatyping, and send me an e-mail if this package is of use for you
  78. or if you have problems with it.
  79.  
  80. TetiSoft@apg.lahn.de (Detlef Wuerkner, Giessen, Germany)
  81.