--- ppm/bmp.h.orig	Mon Oct  4 18:12:07 1993
+++ ppm/bmp.h	Sat Oct 16 02:53:18 1999
@@ -108,6 +108,8 @@
 		return 0;
 	}
 
+	if( bitcount == 24 ) lenrgb=0;
+
 	return (1 << bitcount) * lenrgb;
 }
 
