Bitmap/Read a PPM file: Difference between revisions
Content added Content deleted
m (Added two Media images to output section.) |
m (Correct error in text formatting.) |
||
Line 1,849: | Line 1,849: | ||
// Remove any comments before reading data |
// Remove any comments before reading data |
||
reader.mark(1); |
reader.mark(1); |
||
while ( reader.read() == START_OF_COMMENT) { |
while ( reader.read() == START_OF_COMMENT ) { |
||
while ( reader.read() != END_OF_LINE ); |
while ( reader.read() != END_OF_LINE ); |
||
reader.mark(1); |
reader.mark(1); |