Changeset 213:36f5cb12e1a2 for dwt/internal/image/PNGFileFormat.d
- Timestamp:
- 05/17/08 11:34:28 (8 months ago)
- Files:
-
- dwt/internal/image/PNGFileFormat.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/internal/image/PNGFileFormat.d
r48 r213 30 30 import dwt.internal.image.PngInputStream; 31 31 import dwt.internal.image.PngDecodingDataStream; 32 import dwt.dwthelper.utils; 32 33 33 34 import dwt.dwthelper.BufferedInputStream; 34 import dwt.dwthelper.System;35 35 36 36 import tango.core.Exception; … … 177 177 if ((signature[5] & 0xFF) !is 10) return false; //<LINEFEED> 178 178 if ((signature[6] & 0xFF) !is 26) return false; //<CTRL/Z> 179 if ((signature[7] & 0xFF) !is 10) return false; //<LINEFEED> 179 if ((signature[7] & 0xFF) !is 10) return false; //<LINEFEED> 180 180 return true; 181 181 } catch (Exception e) { … … 315 315 InputStream inflaterStream = use3_2 ? null : Compatibility.newInflaterInputStream(stream); 316 316 if (inflaterStream !is null) { 317 stream = new BufferedInputStream(inflaterStream);317 stream = inflaterStream; 318 318 } else { 319 319 stream = new PngDecodingDataStream(stream);
