PHP Classes

PHP Favicon Maker: Generate a favicon icon file from an image file

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 236 All time: 8,084 This week: 63Up
Version License PHP version Categories
php-mmf 1.0.0Custom (specified...5HTML, PHP 5, Graphics, Files and Folders
Description 

Author

This package can generate a favicon icon file from an image file.

It takes the name of a image file and converts it to a favicon image file.

It can also generate HTML to use the favicon image file on a Web page.

Picture of zinsou A.A.E.Moïse
  Performance   Level  
Name: zinsou A.A.E.Moïse <contact>
Classes: 50 packages by
Country: Benin Benin
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Example

<?php
 
require_once('MakeMyFavicon.class.php');
 
?>
<!doctype html>
<html>
<head>
<?php
$x
=new loadMyfav('moki.gif',false,48,true);
echo
$x->getHtml();
?>
</head>
<body>
<?php
 
echo'<pre>';
echo
$x->getHtml(true);
 echo
'</pre>';
echo
'<br>';

$x=new loadMyfav('moki.gif',true,48,true);
echo
$x->getHtml(true);


?>
</body>
</html>


Details

PHP FAVICON MAKER is a package that allows the user to build his favicon on the fly from any chosen type of image file.Currently it allows to generate the favicon in the size 16*16,32*32,48*48 and also the html code to include in the page...The chosen file could even be an animated gif.In this case,I suggest to use firefox to really see the package generated code in action or any other browser which accept animated gif as favicon.... As the favicon doesn't need to be generated each time user launch a page, This package must be used offline except if a launch once system is implemented on every page... The package use other package from the PHPCLASSES repository that are already included as: GIF_eXG(PHP GIF resize) from Author: Yuriy Khomenko;https://www.phpclasses.org/package/8126-PHP-Resize-animated-GIF-images-with-transparency.html PHP Image Sizer from Author : Mohamed Elbahja; https://www.phpclasses.org/package/9831-PHP-Resize-images-to-a-given-width-and-height.html Convert to BMP from Author: mahabub from bangladesh https://www.phpclasses.org/package/6211-PHP-Convert-GIF-JPEG-and-PNG-images-to-BMP-format.html The classes and their methods are documented in their statement.See the testMMF.php file for a how to use example. For more questions, feedback and other please contact me at leizmo@gmail.com Or use the PHPCLASSES site forum...

  Files folder image Files (6)  
File Role Description
Plain text file combox.php Class class source
Accessible without login Plain text file license.txt Lic. license file
Plain text file MakeMyFavicon.class.php Class class source
Accessible without login Image file moki.gif Data example picture
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file testMMF.php Example example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:236
This week:0
All time:8,084
This week:63Up