This package can be used to create thumbnail from images in the BMP format.
The package has a class that can read a BMP image file, decodes the image pixels, and a new image file in the GD library format from the BMP image pixel values.
The GD image file is stored in temporary file or in a string using a memory stream handler class to improve the decoding process speed. The GD image file is loaded into memory so it can be manipulated with any GD library function.
Another class can be used to create thumbnails with given width and height from images in the formats JPEG, GIF, PNG, WBMP and BMP using the conversion processed described above.
The thumbnails can be saved to files only in the formats: JPEG, PNG, GIF and WBMP. |
|