summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscuri <scuri>2009-09-10 17:33:34 +0000
committerscuri <scuri>2009-09-10 17:33:34 +0000
commit5335c91f4a10081ef8b04a6d47403c0efc064647 (patch)
tree742e83f8cfbf52e0d82c1e07f733ca4a5212b535 /include
parent67475cb6aa3af3a0c65351562c22f25814a45fcb (diff)
# Fixed: RAW format initialization.
Diffstat (limited to 'include')
-rw-r--r--include/im_format_all.h2
-rw-r--r--include/im_format_raw.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/include/im_format_all.h b/include/im_format_all.h
index 3a7cbb6..bb43816 100644
--- a/include/im_format_all.h
+++ b/include/im_format_all.h
@@ -477,7 +477,7 @@ void imFormatRegisterTGA(void);
Description (string)
Comments:
- In fact ASCII is an expansion...
+ In fact ASCII is an expansion, not a compression, because the file will be larger than binary data.
\endverbatim
* \ingroup format */
void imFormatRegisterPNM(void);
diff --git a/include/im_format_raw.h b/include/im_format_raw.h
index fdb07f8..80a8203 100644
--- a/include/im_format_raw.h
+++ b/include/im_format_raw.h
@@ -22,8 +22,9 @@ extern "C" {
* \par
* Internal Implementation.
* \par
- * Supports RAW binary images. You must know image parameters a priori. \n
- * You must set the IM_INT attributes "Width", "Height", "ColorMode", "DataType" before the imFileReadImageInfo/imFileWriteImageInfo functions.
+ * Supports RAW binary images. This is a unstructured and uncompressed binary data.
+ * It is NOT a Camera RAW file generated in many professional digital cameras. \n
+ * You must know image parameters a priori and must set the IM_INT attributes "Width", "Height", "ColorMode", "DataType" before the imFileReadImageInfo/imFileWriteImageInfo functions.
* \par
* The data must be in binary form, but can start in an arbitrary offset from the begining of the file, use attribute "StartOffset".
* The default is at 0 offset.
@@ -54,8 +55,9 @@ extern "C" {
ImageCount[1], StartOffset[0], SwitchType[FALSE], ByteOrder[IM_LITTLEENDIAN], Padding[0] IM_INT (1)
\endverbatim
* \ingroup format */
-imFileFormatBase* imFormatInitRAW(void);
+imFormat* imFormatInitRAW(void);
+void imFormatFinishRAW(void);
#if defined(__cplusplus)
}