All Projects → spatie → Image

spatie / Image

Licence: mit
Manipulate images with an expressive API

Labels

Projects that are alternatives of or similar to Image

Watimage
🖼 PHP image manipulation class
Stars: ✭ 25 (-96.8%)
Mutual labels:  image, gd
Gimage
A PHP library for easy image handling. 🖼
Stars: ✭ 148 (-81.05%)
Mutual labels:  image, gd
Image
Joomla Framework Image Package
Stars: ✭ 9 (-98.85%)
Mutual labels:  image, gd
Image
PHP Image Manipulation
Stars: ✭ 12,298 (+1474.65%)
Mutual labels:  image, gd
Zimg Host
Simple image hosting service
Stars: ✭ 62 (-92.06%)
Mutual labels:  image, gd
Imagecow
PHP library to manipulate and generate responsive images
Stars: ✭ 234 (-70.04%)
Mutual labels:  image, gd
Bbmetalimage
A high performance Swift library for GPU-accelerated image/video processing based on Metal.
Stars: ✭ 677 (-13.32%)
Mutual labels:  image
React Zmage
一个基于 React 的可缩放图片控件 | A scalable image wrapper power by react
Stars: ✭ 713 (-8.71%)
Mutual labels:  image
Viewerjs
JavaScript image viewer.
Stars: ✭ 6,270 (+702.82%)
Mutual labels:  image
Mediumlightbox
Nice and elegant way to add zooming functionality for images, inspired by medium.com
Stars: ✭ 671 (-14.08%)
Mutual labels:  image
Shadowimageview
A apple music cover picture shadow style image library
Stars: ✭ 781 (+0%)
Mutual labels:  image
Leetheme
优雅的主题管理库- 一行代码完成多样式切换
Stars: ✭ 762 (-2.43%)
Mutual labels:  image
Glightbox
Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes
Stars: ✭ 702 (-10.12%)
Mutual labels:  image
Sota Medseg
SOTA medical image segmentation methods based on various challenges
Stars: ✭ 677 (-13.32%)
Mutual labels:  image
Nuxt Optimized Images
🌅🚀 Automatically optimizes images used in Nuxt.js projects (JPEG, PNG, SVG, WebP and GIF).
Stars: ✭ 717 (-8.19%)
Mutual labels:  image
React Native Fast Image
🚩 FastImage, performant React Native image component.
Stars: ✭ 6,500 (+732.27%)
Mutual labels:  image
Flyimg
Dockerized PHP7 application runs as a Microservice to resize and crop images on the fly. Get optimised images with MozJPEG, WebP or PNG using ImageMagick. Includes face detection, cropping, face blurring, image rotation and many other options. Abstract storage based on FlySystem in order to store images on any provider (local, AWS S3...).
Stars: ✭ 762 (-2.43%)
Mutual labels:  image
Layzr.js
A modern lazy loading library for images.
Stars: ✭ 5,646 (+622.92%)
Mutual labels:  image
Tysnapshotscroll
一句代码保存截图,将 UIScrollView UITableView UICollectionView UIWebView WKWebView 网页 保存 为 长图 查看。Save the scroll view page as an image,support UIScrollView,UITableView,UICollectionView,UIWebView,WKWebView.(Support iOS13)
Stars: ✭ 709 (-9.22%)
Mutual labels:  image
React Native Img Cache
Image Cache for React Native
Stars: ✭ 724 (-7.3%)
Mutual labels:  image

Manipulate images with an expressive API

Latest Version on Packagist MIT Licensed GitHub Workflow Status Total Downloads

Image manipulation doesn't have to be hard. Here are a few examples on how this package makes it very easy to manipulate images.

use Spatie\Image\Image;

// modifying the image so it fits in a 100x100 rectangle without altering aspect ratio
Image::load($pathToImage)
   ->width(100)
   ->height(100)
   ->save($pathToNewImage);
   
// overwriting the original image with a greyscale version   
Image::load($pathToImage)
   ->greyscale()
   ->save();
   
// make image darker and save it in low quality
Image::load($pathToImage)
   ->brightness(-30)
   ->quality(25)
   ->save();
   
// rotate the image and sharpen it
Image::load($pathToImage)
   ->orientation(90)
   ->sharpen(15)
   ->save();

You'll find more examples in the full documentation.

Under the hood Glide by Jonathan Reinink is used.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require spatie/image

Please note that since version 1.5.3 this package requires exif extension to be enabled: http://php.net/manual/en/exif.installation.php

Usage

Head over to the full documentation.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

Under the hood Glide by Jonathan Reinink is used. We've based our documentation and docblocks on text found in the Glide documentation

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].