Show
Ignore:
Timestamp:
05/17/08 11:34:28 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Update to SWT 3.4M7

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/image/PngPlteChunk.d

    r212 r213  
    1313module dwt.internal.image.PngPlteChunk; 
    1414 
     15import dwt.dwthelper.utils; 
     16 
    1517 
    1618import dwt.DWT; 
     
    2224 
    2325import tango.text.convert.Format; 
    24 import dwt.dwthelper.utils; 
    2526 
    2627class PngPlteChunk : PngChunk { 
     
    112113    // Palette chunks' data fields must be event multiples 
    113114    // of 3. Each 3-byte group represents an RGB value. 
    114     if (getLength() % 3 !is 0) DWT.error(DWT.ERROR_INVALID_IMAGE); 
     115    if (getLength() % 3 !is 0) DWT.error(DWT.ERROR_INVALID_IMAGE);   
    115116 
    116117    // Palettes cannot have more entries than 2^bitDepth