Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2007-04-23 (9 years ago) ![]() | ![]() ![]() ![]() | Total: 401 | All time: 6,215 This week: 943![]() |
Version | License | PHP version | Categories | |||
ebm2bmp 1.0 | GNU Lesser Genera... | 4 | HTML, Graphics, Files and Folders, Games |
Description | Author | |||
This class can convert emblem images in EBM format used by Ragnarok Online game to the BMP format or HTML tables. Innovation Award
|
To use the class, simply include it on your PHP file: include('class.ebm2bmp.php'); Then, instantiate the class: $emblem = new EBM2BMP($path); // where $path is the physical location of the emblem files $emblem->processFile($file); // where $file is the emblem file to convert into BMP If you want to replace the magenta color (transparent in-game) for display in web pages, you can use the replace function: $emblem->replaceColor('FF00FF', 'C0C0C0'); // this will change magenta into silver Now you can choose what to do with the processed files. You can display the actual converted BMP image: // $emblem->showBMP(); Or, display the BMP as tables to make it appear big: // $emblem->showBigImage(); Or even display the BMP information as an array: // $emblem->showArray(); You can choose only 1 from the 3 output methods. Have fun! |
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Class EBM2BMP |
![]() ![]() |
Data | Sample Emblem |
![]() ![]() |
Doc. | Documentation |
![]() ![]() |
Data | Sample file |
![]() ![]() |
Example | Sample script |
![]() ![]() |
Example | Sample script |
![]() ![]() |
Example | Sample script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
Classes for PHP Classes for PHP |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Classes for PHP PHP is currently the most trusted web programming language... |