|
|
| version 1.44, 2001/09/18 16:05:42 | version 1.46, 2001/09/26 10:32:25 |
|---|---|
| Line 2 | Line 2 |
| Parser: @b image parser class. | Parser: @b image parser class. |
| Copyright(c) 2001 ArtLebedev Group(http://www.artlebedev.com) | Copyright(c) 2001 ArtLebedev Group(http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru>(http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru>(http://design.ru/paf) |
| $Id$ | |
| */ | */ |
| static const char *RCSId="$Id$"; | |
| /* | /* |
| jpegsize: gets the width and height (in pixels) of a jpeg file | jpegsize: gets the width and height (in pixels) of a jpeg file |
| Line 48 public: // Methoded | Line 48 public: // Methoded |
| #ifndef DOXYGEN | #ifndef DOXYGEN |
| class Measure_reader { | class Measure_reader { |
| public: | public: |
| enum { READ_CHUNK_SIZE=0x400*10 };// 10K | enum { READ_CHUNK_SIZE=0x400*20 };// 20K |
| typedef size_t(*Func)(void *& buf, size_t limit, void *info); | typedef size_t(*Func)(void *& buf, size_t limit, void *info); |
| Measure_reader(Func afunc, void *ainfo) : | Measure_reader(Func afunc, void *ainfo) : |