New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@4bitlabs/blur-filters

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4bitlabs/blur-filters

A collection of blur-filters for rendering Sierra On-line SCI-engine assets.

  • 1.0.18
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

@4bitlabs/blur-filters License NPM Version NPM Downloads

A collection of blur-filters for rendering Sierra On-line SCI-engine assets.

Documentation

Full documentation for the library can be found here.

Filters

MethodDescription
gaussBlur(sigma: number): ImageFilterApplies a gaussian blur to the image in-place
hBlur(sigma: number): ImageFilterApplies a gaussian blur, only on the horizontal axis
boxBlur(s: number): ImageFilterApplies a fast box-blur of box s
hBoxBlur(s: number): ImageFilterApplies a fast horizontal box-blur of length s

Example:

import { BlurFilters } from '@4bitlabs/image';

// Blur the image using a horizontal box, with a box of 3-pixels
const filter = BlurFilters.hBoxBlur(3);
const output = filter(source);

Note: These are very naïve implementations, and should not be used in any kind of production environment.

FAQs

Package last updated on 30 Jul 2024

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