2017 © Pedro Peláez
 

library bmp

BMP image support for PHP's GD

image

urbanplum/bmp

BMP image support for PHP's GD

  • Monday, March 13, 2017
  • by john-n-smith
  • Repository
  • 2 Watchers
  • 3 Stars
  • 6,189 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 19 % Grown

The README.md

bmp

Latest Version on Packagist Software License Total Downloads, (*1)

Adds BMP image support for PHP's GD functionality., (*2)

Install

Via Composer, (*3)

``` bash $ composer require urbanplum/bmp, (*4)


## Usage ``` php require sprintf('%s/../vendor/autoload.php', __DIR__); $bmp = new Urbanplum\Bmp\Bmp(); // creating a GD resource from a file $resource = $bmp->createFromFile('/path/to/file.bmp'); // creating a GD resource from a string (e.g. from DB, S3, etc.) $resource = $bmp->createFromString($bitmapString); // output image to a browser header('Content-Type: image/jpeg'); imagejpeg($resource); // clean up imagedestroy($resource);

Credits

License

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

The Versions

13/03 2017

dev-master

9999999-dev https://github.com/urbanplum/php-bmp

BMP image support for PHP's GD

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

gd bitmap bmp urbanplum php-bmp

13/03 2017

v1.0.1

1.0.1.0 https://github.com/urbanplum/php-bmp

BMP image support for PHP's GD

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

gd bitmap bmp urbanplum php-bmp

08/03 2017

v1.0.0

1.0.0.0 https://github.com/urbanplum/php-bmp

BMP image support for PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

bitmap bmp urbanplum php-bmp

07/05 2016

v0.1.0

0.1.0.0 https://github.com/urbanplum/php-bmp

BMP image support for PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

bitmap bmp urbanplum php-bmp