npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

romaine

v0.10.2

Published

React OpenCV Manipulation and Image Narration & Editing

Downloads

4

Readme

romaine

React OpenCV Manipulation and Image Narration / Editing

Example

See romaine-components

Under Construction

This package is very much a work in progress with new minor versions (with potentially breaking changes with every update).

Versioning

Currently minor changes will be breaking until a stable 1.0.0 release. Semantic versioning will be used post stable release.

Quick Features

  • Image Cropping
  • Perspective Cropping
  • Image Rotation
  • Image Quality
  • More coming soon...

Romaine Input Props

| Parameter | Type | Description | Default | Context Alternative | | :-------- | :------- | :--------------------------- | :------ | :------------------ | | angle | number | Turn angle for rotation tool | 90 | setAngle(90) |

Note:

Changing props triggers the Context Alternative, which can cause an un-needed render of some components. To avoid this you can use the context alternative yourself.

todo

Meta

  1. Create a minified production build
  2. Create a code sandbox demo
  3. Basic use case (completed, see romaine-components)
  4. History
    1. Reinitialize (completed)
    2. Undo (completed)
    3. Redo
  5. Layers

OpenCV Implementations

  1. Cropping
    1. Perspective (completed)
    2. Regular
      1. Crop the image (completed)
      2. Lock aspect ratio
      3. Basic border recognition (completed)
  2. Filters
    1. Grey scale
    2. Brightness
    3. Hue
    4. Retro
    5. Pop-art
  3. Rotation
    1. Allow for image roration (currently working with 90 degree increments)
    2. Change angle of rotation
      1. Update Function from useRomaine (completed)
      2. Prop for Romaine (completed) <Romaine angle={90}>
  4. Zooming
    1. Zoom in and out of the image (creating transparent padding around the image)

Usability

  1. Make cropper be able to be moved via drag

Upcoming Breaking Changes

Special Thanks

@Giacomocerquone publisher of react-perspective-cropper (MIT)

@opencv creaters of computer vision software this package relies on (3-clause BSD)