All Projects → aurbano → Photojshop

aurbano / Photojshop

🎨 Photo editing JavaScript library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Photojshop

Jquery Mosaic
A jQuery plugin to build responsive mosaics of images or any other content fitted to match heights in multiple rows while maintaining aspect ratios. http://jquery-mosaic.tin.cat
Stars: ✭ 80 (-41.61%)
Mutual labels:  jquery, javascript-library
Trip.js
🚀 Trip.js is a plugin that can help you customize a tutorial trip easily with more flexibilities.
Stars: ✭ 789 (+475.91%)
Mutual labels:  jquery, javascript-library
Jcanvas
A jQuery plugin that makes the HTML5 canvas easy to work with.
Stars: ✭ 612 (+346.72%)
Mutual labels:  jquery, javascript-library
Mobiscroll
Cross platform UI controls for progressive web and hybrid apps (plain JS, jQuery, Angular and React)
Stars: ✭ 1,510 (+1002.19%)
Mutual labels:  jquery, javascript-library
Webapiclientgen
Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
Stars: ✭ 134 (-2.19%)
Mutual labels:  jquery
Litecart
LiteCart - Free Shopping Cart Platform - Built with PHP, jQuery HTML 5 and CSS 3
Stars: ✭ 132 (-3.65%)
Mutual labels:  jquery
Jiff
JavaScript library for building web-based applications that employ secure multi-party computation (MPC).
Stars: ✭ 131 (-4.38%)
Mutual labels:  javascript-library
Klik Socialmediawebsite
Complete PHP-based Login/Registration system, Profile system, Chat room, Forum system and Blog/Polls/Event Management System.
Stars: ✭ 129 (-5.84%)
Mutual labels:  jquery
Dotnetdesk
Asp.Net Example web application showing the capabilities of ASP.NET Core 2 MVC, EF (Entity Framework), Web API, Bootstrap, jQuery, datatables, adminlte template and many more. Web app created as helpdesk or ticket support portal.
Stars: ✭ 136 (-0.73%)
Mutual labels:  jquery
Ag Psd
Javascript library for reading and writing PSD files
Stars: ✭ 135 (-1.46%)
Mutual labels:  javascript-library
Ruoyi Oracle
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 134 (-2.19%)
Mutual labels:  jquery
Chyrp Lite
An ultra-lightweight blogging engine, written in PHP.
Stars: ✭ 131 (-4.38%)
Mutual labels:  jquery
Jquery Ui
The official jQuery user interface library.
Stars: ✭ 10,997 (+7927.01%)
Mutual labels:  jquery
React Json Schema
Configure and build views using JSON schemas mapped to React components
Stars: ✭ 131 (-4.38%)
Mutual labels:  javascript-library
Slide And Swipe Menu
⚡️ A sliding swipe menu that works with touchSwipe library.
Stars: ✭ 135 (-1.46%)
Mutual labels:  jquery
Keyboard
Virtual Keyboard using jQuery ~
Stars: ✭ 1,670 (+1118.98%)
Mutual labels:  jquery
Toastr
👀 toastr.js notifications for Laravel 5 and Lumen
Stars: ✭ 133 (-2.92%)
Mutual labels:  jquery
Vue Circle Progress
A Vue.js component to draw animated circular progress bars
Stars: ✭ 135 (-1.46%)
Mutual labels:  jquery
Fe Blog Repository
♻️ 🚀我的前端学习笔记仓库✨
Stars: ✭ 133 (-2.92%)
Mutual labels:  jquery
Roothub
使用 SSM 和 MySQL 开发的论坛系统
Stars: ✭ 131 (-4.38%)
Mutual labels:  jquery

PhotoJShop

A JavaScript photo editing library packaged in a simple jQuery plugin

PhotoJShop is a JavaScript library for photo editing using the canvas and kernel convolution matrixes, aiming to reproduce most usual filters. A demo of its capabilities can be seen in Nuophoto, a project that uses this library for all the editing (Although an older version)

The idea is to provide a simple library to developers that will allow quick integration of photo filters to their website.

Demo

If you clone the repo, simply open index.html, which is a very simple demo of the plugin's capabilities. The project has Github's pages enabled, so you can see the demo page online:

Download

Head over to the releases list and grab the lastest one

Usage

After including jQuery, include photojshop.jquery.js. Once loaded you simply need to call it on a valid element. You have to ensure that the element has loaded, $(document).ready() doesn't mean images have loaded!

Right now it works on Canvas and images, so you would call it like so:

$('#img1').PhotoJShop("blur");

// The following would produce the same effect:
$('#img1').PhotoJShop({ effect : "blur"});

// Color effects can be applied at the same time:
$('#img1').PhotoJShop({
  effect  : "blur",
  color   : "b&w"
});

Effects can also be chained if replace is set to true (Which is by default)

$('img').PhotoJShop("blur").PhotoJShop("lighten");

You can also set replace to false, and obtain the dataURL of the filtered photo:

$('#image1').attr('src',
  $('#image2').PhotoJShop({
    effect : "blur",
    replace : false
  })
);

Do you want to do a non-implemented effect? Use the custom mode, and define your own matrix, in the example below we will use a version of blur that also lightens the image:

$('img').PhotoJShop({
  matrix :  [ [1, 1,  1],
              [1, 1.5,1],
              [1, 1,  1] ]
});
// That code is exactly the same as the following:
$('img').PhotoJShop({
  matrix :  [ [1.5] ]
});

You can use any size for the matrix, although it must be square. You can use a 1x1 matrix for example, which will lighten/darken the image if you use a bigger/lower value than 1.

Parameters

Parameter Values Description
effect blur, sharpen, emboss, lighten, darken, edge-enhance, edge-detect, hard-edge, laplace, custom Select the effect you want to apply
replace true, false If true the result of the filter will replace the original image/canvas data and return the jQuery object for chainability. If false it will return the dataURL of the resulting image
matrix JavaScript matrix Use this with the custom effect (Although if you set the matrix you don't have to specify the effect), the matrix can be any size, but it must be in JavaScript format.
color b&w, sepia, vintage, recolor, red, blue, green Apply a coloring effect. Red, blue and green leave only the corresponding channel on all channels.

Changelog

1.0.4

  • Add two new effects: Hard-edge and Laplace

1.0.1

  • Add minified version
  • Released in jQuery plugin repository

1.0.0

  • First stable release

Meta

Analytics

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].