Skip to content

Commit

Permalink
doc/guile-png.texi (Color Representation): New subsection
Browse files Browse the repository at this point in the history
* doc/guile-png.texi (Color Representation): New subsection.
  • Loading branch information
artyom-poptsov committed Sep 10, 2023
1 parent e5abc98 commit 6b6a350
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/guile-png.texi
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,15 @@ that can be drawn on a @code{<png-image>} instance.

@code{(png graphics)} modulep re-exports all the graphical objects.

@subsection Color Representation

Colors are represented as R6RS bytevectors (@xref{Bytevectors,,, guile, The
GNU Guile Reference Manual}).

For example, an image in RGBA format (RGB color plus alpha channel) the
``white'' color with 50% transparency would be represented as @code{#vu8(255
255 255 127)}.

@subsection Pixel-Level Graphics

@code{(png graphics pixel)} module provides low-level API for working with PNG
Expand Down

0 comments on commit 6b6a350

Please sign in to comment.