From 29e8412b06bb862b0657531425f8e15727589f02 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 10 Jul 2009 18:39:35 +0000 Subject: *** empty log message *** --- html/en/history.html | 4 +++- include/im_format_raw.h | 2 +- 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 @@

History of Changes

- CVS (02/Jul/2009)

+ CVS (10/Jul/2009)

Version 3.4.2 (26/Jun/2009)

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; -- cgit v1.2.3