Ignore:
Timestamp:
Jan 3, 2010, 7:13:32 PM (11 years ago)
Author:
rbri
Message:

DJVU plugin: djvulibre updated to version 3.5.22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/DjVuDumpHelper.cpp

    r206 r280  
    5454//C- +------------------------------------------------------------------
    5555//
    56 // $Id: DjVuDumpHelper.cpp,v 1.10 2007/03/25 20:48:30 leonb Exp $
    57 // $Name: release_3_5_19 $
     56// $Id: DjVuDumpHelper.cpp,v 1.11 2008/02/26 05:07:40 leonb Exp $
     57// $Name: release_3_5_22 $
    5858
    5959#ifdef HAVE_CONFIG_H
     
    125125             GUTF8String, size_t, DjVmInfo&, int)
    126126{
    127   out_str.format( "JB2 colors data");
     127  GP<ByteStream> gbs = iff.get_bytestream();
     128  int version = gbs->read8();
     129  int size = gbs->read16();
     130  out_str.format( "JB2 colors data, v%d, %d colors",
     131                  version & 0x7f, size);
    128132}
    129133
     
    159163      unsigned char ylo = gbs->read8();
    160164      out_str.format( ", v%d.%d (%s), %dx%d", major & 0x7f, minor,
    161                       (major & 0x80 ? "b&w" : "color"), (xhi<<8)+xlo, (yhi<<8)+ylo );
     165                      (major & 0x80 ? "b&w" : "color"),
     166                      (xhi<<8)+xlo, (yhi<<8)+ylo );
    162167    }
    163168}
Note: See TracChangeset for help on using the changeset viewer.