diff options
author | simonbachmann <simonbachmann@bluewin.ch> | 2017-06-18 16:17:29 (GMT) |
---|---|---|
committer | simonbachmann <simonbachmann@bluewin.ch> | 2017-06-18 16:17:29 (GMT) |
commit | 7d4cdf5417e7fc800b2c51c0adce91e7888d0359 (patch) | |
tree | 894866bbe89e83b66959df188eb61241ed32fc92 /doc | |
parent | fbac4859a673c9a5f0c8936ed8d18ea9e9145304 (diff) | |
download | tk-7d4cdf5417e7fc800b2c51c0adce91e7888d0359.zip tk-7d4cdf5417e7fc800b2c51c0adce91e7888d0359.tar.gz tk-7d4cdf5417e7fc800b2c51c0adce91e7888d0359.tar.bz2 |
Changed from #ARGB to #RGBA color format
Diffstat (limited to 'doc')
-rw-r--r-- | doc/photo.n | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/photo.n b/doc/photo.n index ea52ec5..69d156b 100644 --- a/doc/photo.n +++ b/doc/photo.n @@ -530,8 +530,8 @@ The built-in handlers support these suboptions: The option is allowed when writing image data to a string with \fIimageName\fR \fBdata\fR. Specifies the format to use for the color string of each pixel. \fIformatType\fR may be one of: \fBrgb\fR to -encode pixel data in the form \fB#\fIRRGGBB\fR, \fBargb\fR to encode -pixel data in the form \fB#\fIAARRGGBB\fR or \fBlist\fR to encode +encode pixel data in the form \fB#\fIRRGGBB\fR, \fBrgba\fR to encode +pixel data in the form \fB#\fIRRGGBBAA\fR or \fBlist\fR to encode pixel data as a list with four elements. See \fBCOLOR FORMATS\fR below for details. The default is \fBrgb\fR. .VE 8.7 @@ -590,14 +590,14 @@ A Tcl list with three or four integers in the range 0 to 255, specifying the values for the red, green, blue and (optionally) alpha channels respectively. .IP \(bu 3 -\fB#\fR\fIARGB\fR format: a \fB#\fR followed by four hexadecimal digits, -where each digit is the value for the alpha, red, green and blue +\fB#\fR\fIRGBA\fR format: a \fB#\fR followed by four hexadecimal digits, +where each digit is the value for the red, green, blue and alpha channels respectively. Each digit will be expanded internally to -8-bits by multiplication by 0x11. +8 bits by multiplication by 0x11. .IP \(bu 3 -\fB#\fR\fIAARRGGBB\fR format: \fB#\fR followed by eight hexadecimal digits, -where two subsequent digits represent the value for the alpha, red, green -and blue channels respectively. +\fB#\fR\fIRRGGBBAA\fR format: \fB#\fR followed by eight hexadecimal digits, +where each pair of subsequent digits represents the value for the red, +green, blue and alpha channels respectively. .VE 8.7 .SH "COLOR ALLOCATION" .PP |