Documentation ¶
Overview ¶
Package grayscale provides function to grayscale an image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
Image represents a grayscaled image.
func FromReader ¶
FromReader grayscales an image from original raw data (r).
Note that you need to blank import image type packages in order to be able to decode them in this function, for example:
import ( _ "image/gif" _ "image/jpeg" _ "image/png" )
func (*Image) ColorModel ¶
ColorModel overrides the original ColorModel with color.Gray16Model.
Click to show internal directories.
Click to hide internal directories.