 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package interp implements image interpolation.
An interpolator provides the Interp interface, which can be used to interpolate a pixel:
c := interp.Bilinear.Interp(src, 1.2, 1.8)
To interpolate a large number of RGBA or Gray pixels, an implementation may provide a fast-path by implementing the RGBA or Gray interfaces.
i1, ok := i.(interp.RGBA)
if ok {
	c := i1.RGBA(src, 1.2, 1.8)
	// use c.R, c.G, etc
	return
}
c := i.Interp(src, 1.2, 1.8)
// use generic color.Color
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.