Changeset 689 for branches/experimental-pdf/include/mapnik/png_io.hpp
- Timestamp:
- 04/05/08 21:26:14 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/experimental-pdf/include/mapnik/png_io.hpp
r606 r689 103 103 unsigned val = row[x]; 104 104 mapnik::rgb c((val)&0xff, (val>>8)&0xff, (val>>16) & 0xff); 105 uint8_t index = tree.quantize(c);105 boost::uint8_t index = tree.quantize(c); 106 106 row_out[x] = index; 107 107 } … … 124 124 unsigned val = row[x]; 125 125 mapnik::rgb c((val)&0xff, (val>>8)&0xff, (val>>16) & 0xff); 126 uint8_t index = tree.quantize(c);126 boost::uint8_t index = tree.quantize(c); 127 127 if (x%2 > 0) index = index<<4; 128 128 row_out[x>>1] |= index;
