[gimp] devel-docs: fix byte range in format documentation
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] devel-docs: fix byte range in format documentation
- Date: Fri, 19 Jun 2009 14:47:03 -0400 (EDT)
commit 5865dcf63e4757749313c50a93bd188cc3fcbaee
Author: Sven Neumann <sven gimp org>
Date: Fri Jun 19 20:44:49 2009 +0200
devel-docs: fix byte range in format documentation
The byte range for the brush, repspective pattern name, was wrong in
the documentation of the GBR and PAT file formats. This commit
corrects this.
devel-docs/gbr.txt | 4 ++--
devel-docs/pat.txt | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/devel-docs/gbr.txt b/devel-docs/gbr.txt
index 6b6a49f..8f1e08d 100644
--- a/devel-docs/gbr.txt
+++ b/devel-docs/gbr.txt
@@ -42,7 +42,7 @@ Bytes 16 - 19: bytes
Bytes 20 - 23: magic_number
Type: 32 bit unsigned int
- Value: GIMP brush magic number.
+ Value: GIMP brush magic number.
('G' << 24) + ('I' << 16) + ('M' << 8) + 'P'
Bytes 24 - 27: spacing
@@ -50,7 +50,7 @@ Bytes 24 - 27: spacing
Value: Default spacing to be used for brush. Percentage
of brush width.
-Bytes 28 - (header_size - 28):
+Bytes 28 - (header_size - 1):
Type: char *
Value: UTF-8 string - name of brush
diff --git a/devel-docs/pat.txt b/devel-docs/pat.txt
index 3ec308e..b050286 100644
--- a/devel-docs/pat.txt
+++ b/devel-docs/pat.txt
@@ -23,17 +23,17 @@ Bytes 12 - 15: height
Bytes 16 - 19: bytes
Type: 32 bit unsigned int
- Value: Colour depth of brush.
+ Value: Colour depth of pattern
1 = greyscale, 2 = greyscale + A, 3 = RGB, 4 = RGBA
Bytes 20 - 23: magic_number
Type: 32 bit unsigned int
- Value: GIMP brush magic number.
+ Value: GIMP pattern magic number.
('G' << 24) + ('I' << 16) + ('M' << 8) + 'P'
-Bytes 24 - (header_size - 24):
+Bytes 24 - (header_size - 1):
Type: char *
- Value: UTF-8 string - name of brush
+ Value: UTF-8 string - name of pattern
BODY
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]