PHP Classes

BMP_Loader: Read and write BMP images in pure PHP

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 41%Total: 596 All time: 5,212 This week: 70Up
Version License PHP version Categories
bmp_loader 1.0GNU Lesser Genera...5.0PHP 5, Graphics, Files and Folders


This class can be used to read and write BMP images in pure PHP.

It can read an image file in BMP format and parse its data to build an image that can be manipulated by the GD extension functions.

The class can also do the opposite, i.e. take a GD image resource handle and save the image data to a file in the BMP format.

Innovation Award
PHP Programming Innovation award nominee
September 2009
Number 4
The PHP GD extensions allows you to read and write image files in different formats, but it does not have built-in support to the BMP format.

This class implements a pure PHP solution to read and write images in the BMP format, so it does not depend on any special PHP extensions.

Manuel Lemos
Picture of Dzsoni Voker
Name: Dzsoni Voker <contact>
Classes: 2 packages by
Country: Slovak Republic Slovak Republic
Age: ???
All time rank: 13325 in Slovak Republic Slovak Republic
Week rank: 362 Up1 in Slovak Republic Slovak Republic Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file BMP_loader.php Class The whole class.
Accessible without login HTML file documentation_v1.0.html Doc. The documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,212
This week:70Up
User Ratings User Comments (1)
 All time
I do not see the point of this class.
14 years ago (Christopher Kramer)