Short: Replacement for CBM's macpaint.datatype Author: TetiSoft@apg.lahn.de (Detlef Wuerkner) Uploader: TetiSoft@apg.lahn.de (Detlef Wuerkner) Version: 43.1 Type: util/dtype macpaint.datatype Version 43.1 (10-Jul-97) It's a datatype for MacPaint picture format, based on the sources of Andreas R. Kleinert's samplePNM.datatype. MacPaint pictures are black & white, 720 * 576 pixels. Written to replace macpaint.datatype 42.1 from CBM (Aminet util/dtype/picdt_42_1.lha). I found two bugs in it: 1) The descriptor hook-function didn't recognize all MacPaint pictures, but declared a large number of other files as MacPaint pics. The new descriptor from Erik Engdahl (Aminet util/dtype/MacPict2_dtc.lha) was better, but recognized also Compugraphic fonts as MacPaint. My descriptor checks deeper: It tests if the data is packed with the PackBits procedure. 2) With SetPatch 43.6 installed, the old macpaint.datatype produces completely black pictures (at least on my system). With SetPatch 40.16 it worked. My version doesn't have this problem. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1233 591 52.0% 12-Jul-97 00:51:50 MacPaint_DT.info 504 407 19.2% 07-Jul-97 23:57:56 +MacPaint 3520 2124 39.6% 10-Jul-97 15:30:32 +macpaint.datatype 1579 1217 22.9% 12-Jul-97 00:49:40 +MacPaint.info 3157 1495 52.6% 12-Jul-97 00:47:24 +Readme 423 218 48.4% 12-Jul-97 00:50:12 +Readme.info 1233 592 51.9% 12-Jul-97 00:52:34 +Source.info 404 332 17.8% 08-Jul-97 00:22:06 +MacPaintCheck_Hard 2519 1206 52.1% 08-Jul-97 00:21:16 +MacPaintCheck_Hard.c 5733 1900 66.8% 11-Jul-97 23:41:44 +Part_of_libfuncs.c -------- ------- ----- --------- -------- 20305 10082 50.3% 12-Jul-97 12:09:04 10 files