2017 © Pedro Peláez
 

library bmp2image

Creates an image from a Bitmap

image

itgalaxy/bmp2image

Creates an image from a Bitmap

  • Thursday, February 23, 2017
  • by evilebottnawi
  • Repository
  • 5 Watchers
  • 2 Stars
  • 6,990 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

bmp2image

Latest Stable Version Travis Build Status Dependency Status, (*1)

bmp2image converts BMP to images (JPG, JPEG, PNG, GIF and etc) format., (*2)

Installation

Install with Composer

If you're using Composer to manage dependencies, you can add Requests with it., (*3)

composer require itgalaxy/bmp2image

or, (*4)

{
    "require": {
        "itgalaxy/bmp2image": ">=1.0.0"
    }
}

Install source from GitHub

To install the source code:, (*5)

git clone git://github.com/itgalaxy/bmp2image.git

And include it in your scripts:, (*6)

require_once '/path/to/bmp2image/Bmp2Image.php';

Install source from zip/tarball

Alternatively, you can fetch a tarball or zipball:, (*7)

curl -L https://github.com/itgalaxy/bmp2image/tarball/master | tar xzv

or, (*8)

wget https://github.com/itgalaxy/bmp2image/tarball/master -O - | tar xzv

Usage

<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$jpg = \Itgalaxy\Bmp2Image::make('path/to/image.bmp');

imagejpeg($jpg, 'path/to/save/image.jpg');
imagedestroy($jpg);

Contribution

Don't hesitate to create a pull request. Every contribution is appreciated., (*9)

Changelog

License

The Versions

23/02 2017

dev-master

9999999-dev

Creates an image from a Bitmap

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

by Itgalaxy

gif jpg png bmp bmp2jpg bmp2png bmp2gif

15/12 2016

2.0.0

2.0.0.0

Creates an image from a Bitmap

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

by Itgalaxy

gif jpg png bmp bmp2jpg bmp2png bmp2gif

06/10 2016

1.0.0

1.0.0.0

Creates an image from a Bitmap

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

by Itgalaxy

gif jpg png bmp bmp2jpg bmp2png bmp2gif