head	1.1;
access
	monica
	thoth;
symbols;
locks
	monica:1.1; strict;
comment	@// @;


1.1
date	94.10.25.22.24.12;	author monica;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@//$Id$

/* convert a PGM to PBM (tests writing of PBM) */

#include "IntDI.h"
#include "BitDI.h"

typedef IA_Image<IA_Point<int>, int>	IA_IntDiscreteImage;

int main()
{
  IA_IntDiscreteImage img(IA_IntDiscreteImage::read_PGM("/cis/research/iac++/depot/src/test_image/RCS/sr71.pgm"));

  write_PBM(to_bit(img),cout);

  exit(0);
}
@
