From: Paul K. <pki...@us...> - 2005-10-12 15:05:43
|
Update of /cvsroot/octave/octave-forge/main/image In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5676 Modified Files: pngwrite.cc Log Message: Remove debug messages Index: pngwrite.cc =================================================================== RCS file: /cvsroot/octave/octave-forge/main/image/pngwrite.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pngwrite.cc 10 Sep 2005 16:07:47 -0000 1.1 +++ pngwrite.cc 12 Oct 2005 15:05:29 -0000 1.2 @@ -90,14 +90,12 @@ return retval; } - octave_stdout << "we reached point A" << std::endl; canvas *pic=new_canvas(image_width, image_height, image_width*4); if (!pic) { error("pngwrite out of memory"); return retval; } - octave_stdout << "we reached point B" << std::endl; for(int i=0; i < pic->width; i++) { for(int j=0; j < pic->height; j++) { pic->row_pointers[j][i*4+0]=(unsigned char)(red(j,i)); @@ -107,7 +105,6 @@ } } - octave_stdout << "we reached point C" << std::endl; save_canvas(pic,(char *)args(0).string_value().c_str()); delete_canvas(pic); |