summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-09-01 10:31:33 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-09-01 10:31:33 (GMT)
commitf857d0d34a0f4dfc514580c14ca9384d12e5e8bf (patch)
treee8bb84608076faa59b874fc9ffc954e3b2ebc80b
parent907e2d9a2d64d70bf11090c1404f4c2a033665cc (diff)
parent8c0a195e79b922a086df06f05411c3de11db7a90 (diff)
downloadtk-f857d0d34a0f4dfc514580c14ca9384d12e5e8bf.zip
tk-f857d0d34a0f4dfc514580c14ca9384d12e5e8bf.tar.gz
tk-f857d0d34a0f4dfc514580c14ca9384d12e5e8bf.tar.bz2
Correctly documented what the [$ph data] command produces without the -format option.
-rw-r--r--ChangeLog5
-rw-r--r--doc/photo.n11
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f71d03f..ee78955 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-01 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/photo.n: Correctly documented what the [$ph data] command
+ produces without the -format option.
+
2011-08-16 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinDialog.c: [Bug 3388350] mingw64 compiler warnings
diff --git a/doc/photo.n b/doc/photo.n
index 12f0372..f54dc2e 100644
--- a/doc/photo.n
+++ b/doc/photo.n
@@ -248,9 +248,14 @@ the specified color.
Specifies the name of the image file format handler to be used.
Specifically, this subcommand searches
for the first handler whose name matches an initial substring of
-\fIformat-name\fR and which has the capability to read this image data.
-If this option is not given, this subcommand uses the first
-handler that has the capability to read the image data.
+\fIformat-name\fR and which has the capability to write a string
+containing this image data.
+If this option is not given, this subcommand uses a format that
+consists of a list (one element per row) of lists (one element per
+pixel/column) of colors in
+.QW \fB#\fIrrggbb\fR
+format (where \fIrr\fR is a pair of hexadecimal digits for the red
+channel, \fIgg\fR for green, and \fIbb\fR for blue).
.TP
\fB\-from \fIx1 y1 x2 y2\fR
.