diff options
| -rw-r--r-- | html/en/history.html | 4 | ||||
| -rw-r--r-- | include/im_format_raw.h | 2 | ||||
| -rw-r--r-- | src/im_format_raw.cpp | 4 | 
3 files changed, 6 insertions, 4 deletions
diff --git a/html/en/history.html b/html/en/history.html index f09f0a1..07cc1e0 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -12,11 +12,13 @@  <h1>History of Changes</h1>  <h3 dir="ltr"> -    CVS (02/Jul/2009)</h3> +    CVS (10/Jul/2009)</h3>      <ul>          <li><span style="color: #008000"><span style="color: #ff0000">Fixed:</span><span              style="color: #000000"> new image size computation of <strong>im.ProcessCropNew</strong>              in Lua.</span></span> </li> +		<li><span style="color: #008000"><span style="color: #ff0000">Fixed:</span><span +            style="color: #000000"> loading of RAW data.</span></span></li>      </ul>      <h3 dir="ltr">          Version 3.4.2 (26/Jun/2009)</h3> diff --git a/include/im_format_raw.h b/include/im_format_raw.h index 07cc81c..fdb07f8 100644 --- a/include/im_format_raw.h +++ b/include/im_format_raw.h @@ -51,7 +51,7 @@ extern "C" {      Attributes:        Width, Height, ColorMode, DataType IM_INT (1) -      StartOffset, SwitchType, ByteOrder, Padding  IM_INT (1) +      ImageCount[1], StartOffset[0], SwitchType[FALSE], ByteOrder[IM_LITTLEENDIAN], Padding[0]  IM_INT (1)  \endverbatim   * \ingroup format */  imFileFormatBase* imFormatInitRAW(void); diff --git a/src/im_format_raw.cpp b/src/im_format_raw.cpp index a7b7934..5f8d2e5 100644 --- a/src/im_format_raw.cpp +++ b/src/im_format_raw.cpp @@ -2,7 +2,7 @@   * \brief RAW File Format   *   * See Copyright Notice in im_lib.h - * $Id: im_format_raw.cpp,v 1.2 2008/12/03 15:45:34 scuri Exp $ + * $Id: im_format_raw.cpp,v 1.3 2009/07/10 18:39:37 scuri Exp $   */  #include "im_format.h" @@ -73,7 +73,7 @@ int imFileFormatRAW::Open(const char* file_name)    strcpy(this->compression, "NONE"); -  this->image_count = 0; +  this->image_count = 1;  /* at least one image */    this->padding = 0;    return IM_ERR_NONE;  | 
