Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/dchest/imageutil

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dchest/imageutil

  • v0.0.0-20110501221656-45451cac55c6
  • Source
  • Go
  • Socket score

Version published
Created
Source

Warning: this package is a work in progress; in a very primitive state right now.

Package imageutil

import "github.com/dchest/imageutil"

Package imageutil implements functions for the manipulation of images.

Functions

func ResizeBilinear

func ResizeBilinear(img *image.NRGBA, newWidth, newHeight int) *image.NRGBA

ResizeBilinear returns a new NRGBA image with the given width and height created by resizing the given NRGBA image using the bilinear interpolation.

func ResizeNearestNeighbor

func ResizeNearestNeighbor(img image.Image, newWidth, newHeight int) *image.NRGBA

ResizeNearestNeighbor returns a new NRGBA image with the given width and height created by resizing the given image using the nearest neighbor algorithm.

FAQs

Package last updated on 01 May 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc