= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
package camlimages
-
camlimages
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Colormap for CMYK
type t = cmyk
Find the given color in the colormap and returns the color index. Not_found
may be raised.
add_color map c
adds c
to map
if c
is not in map
. The function returns the color index for c
. It may raise Too_many_colors
.
add_colors
is as same as add_color
but it adds multiple colors