2017 © Pedro Peláez
 

library image2css

Pointless Image To CSS box-shadow Converter

image

jaysalvat/image2css

Pointless Image To CSS box-shadow Converter

  • Wednesday, July 23, 2014
  • by jaysalvat
  • Repository
  • 52 Watchers
  • 517 Stars
  • 223 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 82 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Pointless Image To CSS Converter

Latest Stable Version License, (*1)

You suck at CSS but want to impress your friends anyway? This PHP class converts an image to thousands of CSS lines of box-shadow properties. It's totally pointless... but life is pointless..., (*2)

Demo:

You can see a demonstration on CodePen.io., (*3)

http://codepen.io/jaysalvat/pen/HaqBf, (*4)

Installation:

Create a composer.json file with:, (*5)

{
   "require": {
       "jaysalvat/image2css": "~1.0"
   }
}

And run Composer to install Image2Css., (*6)

$ curl -sS https://getcomposer.org/installer | php
$ composer.phar install

Example:

$img = new \Image2Css\Converter("monalisa.jpg");
$img->setWidth(200);
$img->setPixelSize(4);
$img->setBlur(4);

echo $img->computeStyle();

Note:

GD extension required., (*7)

http://www.php.net/manual/en/book.image.php, (*8)

The Versions

23/07 2014

dev-master

9999999-dev https://github.com/jaysalvat/image2css

Pointless Image To CSS box-shadow Converter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

css converter image

20/07 2014

1.0.2

1.0.2.0 https://github.com/jaysalvat/image2css

Pointless Image To CSS box-shadow Converter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

css converter image

18/07 2014

1.0.1

1.0.1.0 https://github.com/jaysalvat/image2css

Pointless Image To CSS box-shadow Converter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

css converter image

18/07 2014

1.0.0

1.0.0.0 https://github.com/jaysalvat/image2css

Pointless Image To CSS box-shadow Converter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

css converter image