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

expo-image-manipulator

Package Overview
Dependencies
Maintainers
29
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-image-manipulator

Provides functions that let you manipulation images on the local file system, eg: resize, crop.

  • 13.0.0-canary-20240904-69100c1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
157K
increased by23.79%
Maintainers
29
Weekly downloads
 
Created

What is expo-image-manipulator?

The expo-image-manipulator package is a library for manipulating images in React Native applications. It provides a set of functions to perform operations such as cropping, rotating, flipping, and resizing images. This package is particularly useful for applications that need to process images on the client side before uploading or displaying them.

What are expo-image-manipulator's main functionalities?

Crop

This feature allows you to crop an image to a specified rectangle. The code sample demonstrates how to define a crop action with specific dimensions.

{ "action": "crop", "options": { "originX": 0, "originY": 0, "width": 100, "height": 100 } }

Rotate

This feature allows you to rotate an image by a specified angle. The code sample shows how to rotate an image by 90 degrees.

{ "action": "rotate", "options": { "angle": 90 } }

Flip

This feature allows you to flip an image either vertically or horizontally. The code sample demonstrates a vertical flip.

{ "action": "flip", "options": { "vertical": true } }

Resize

This feature allows you to resize an image to specified dimensions. The code sample shows how to resize an image to 200x200 pixels.

{ "action": "resize", "options": { "width": 200, "height": 200 } }

Other packages similar to expo-image-manipulator

Keywords

FAQs

Package last updated on 04 Sep 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