ftp.nice.ch/pub/next/graphics/viewer/ToyViewer.2.6.s.tar.gz#/ToyViewer2.6/src/ImageOpr.bproj/Dither.h

This is Dither.h in view mode; [Download] [Up]

#import <appkit/appkit.h>
#import "Dithering.h"

#define  MAXHalftoneLevel  256	/* was 16 */

@interface Dither:Object <Dithering>
{
	unsigned char *buffer;
	int lnwidth;
	int ylines;
	unsigned char sect[256];	/* section */
	unsigned char grad[256];	/* 0 - 16 */
	unsigned char threshold[MAXHalftoneLevel + 2];
}

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.