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

waifu2x-harrisbaird

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waifu2x-harrisbaird

  • 0.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Waifu2x Build Status

Waifu2x is a ruby wrapper and CLI for waifu2x, which provides Noise Reduction and 2x Upscaling for anime style images.

Installation

Install it from rubygems:

gem install waifu2x

Or add to your application's Gemfile:

gem 'waifu2x'

and run:

bundle install

Usage

# convert image.png with 2x upscaling
Waifu2x.convert('image.png', nil, { scale: 2 })

# convert image.png from remote url
Waifu2x.convert('http://example.net/image.png', nil, { scale: 2 })

# convert image.png to converted.png without noise reduction and with 2x upscaling
Waifu2x.convert('image.png', 'converted.png', { noise: 0, scale: 2 })

CLI usage

# convert sample.jpg with 2x upscaling
waifu2x sample.jpg -s 2

# convert sample.jpg from remote url
waifu2x http://example.net/sample.jpg -s 2

# convert sample.jpg to output.jpg without noise reduction and with 2x upscaling
waifu2x sample.jpg output.jpg -n 0 -s 2

License

Released under the BSD 2-clause license. See LICENSE.txt for details.

FAQs

Package last updated on 28 Apr 2016

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