Go: image/internal/imageutil Index | Files

package imageutil

import "image/internal/imageutil"

Package imageutil contains code shared by image-related packages.

Index

Package Files

imageutil.go impl.go

func DrawYCbCr Uses

func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool)

DrawYCbCr draws the YCbCr source image on the RGBA destination image with r.Min in dst aligned with sp in src. It reports whether the draw was successful. If it returns false, no dst pixels were changed.

This function assumes that r is entirely within dst's bounds and the translation of r from dst coordinate space to src coordinate space is entirely within src's bounds.

Package imageutil imports 1 packages (graph) and is imported by 19 packages. Updated 2017-08-28. Refresh now. Tools for package owners.