Skip to content

A simple PHP based tool to perform blend modes on images like photoshop/etc does (based on the blend function from whirl)

Notifications You must be signed in to change notification settings

blacksunshineCoding/phpBlendmodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpBlendmodes

A simple PHP class to perform blend modes on images like photoshop/etc does.

source

This blend mode function is taken from an other project of mine:

https://github.com/blacksunshineCoding/whirl

usage

include 'Blendmodes.class.php';

$blendmodes = new Blendmodes();
$blendedImage = $blendmodes->blend($blendmmode);

see demo.php

blend modes

  • dissolve
  • darkerColor
  • darken
  • multiply
  • colorBurn
  • linearBurn
  • lighterColor
  • lighten
  • screen
  • colorDodge
  • linearDodge
  • overlay
  • softLight
  • hardLight
  • vividLight
  • linearLight
  • pinLight
  • hardMix
  • difference
  • exclusion
  • subtract
  • divide
  • hue
  • saturation
  • color
  • luminosity

accuracy

most of the blend modes work exact like photoshop, but some of the more complex blend modes show more or less differences

About

A simple PHP based tool to perform blend modes on images like photoshop/etc does (based on the blend function from whirl)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages