PHP Classes

PHP Post-it Notes: Generate images with text using vectorial fonts

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 283 All time: 7,583 This week: 524Up
Version License PHP version Categories
post-it 1.0.2Custom (specified...5.3XML, PHP 5, Graphics, Text processing
Description 

Author

This package can generate images with text using vectorial fonts.

It takes one image in the BMP format of a chosen color and renders a given text string on it.

It uses a font defined in vectorial format with characters defined in a special XML files.

Innovation Award
PHP Programming Innovation award nominee
November 2016
Number 6


Prize: One downloadable copy of CodeLobster Professional
PHP can render text on images but sometimes the necessary extensions or fonts may not be available to render text on images with the usual image functions.

This packages provides an alternative solution that can render text on BMP images using pure PHP code.

The fonts are defined as XML files provided by the package with the definition of lines to render letters as vectorial text.

Manuel Lemos
Picture of Bruno Henrique Ferreira de Oliveira
  Performance   Level  
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

 

Documentation

?=============Web Post-it for PHP=============

Introduction.

This php class takes a given string and writes it on bitmaps bmp images using the bin to hex methods.

-Each post-it can be saved as bmp;

-The Bitmaps images are generated in public/posted/user.application/[Section chosen]/[color chosen-string data].bmp;

-Append post-it on any of sections;

-Supports [a-z] pattern;

-Arial 48 font and english characters are supported.

-It may fill until 3 lines with text;

-You may choose a color for the post-it.

Requirements.

-PHP 5.3;

Usage.

-Adding post-it is easy, only click on the color button

-Click on post-it body to bring it up while have many post-it in front of.

-You can decide what section you will post it changing box then press Postit to commit.

-The page will reload and you will see the post-it appended on the section chosen.

-You can delete the post-it just dragging it;

To do.

-Fix few white borders in some words.

-Add support for numbers and symbols.

-Save all sections as zip or image.

-Maybe I will add more fonts and characters of portuguese, spanish, chinese or russian;

License

-In the custom license file.


  Files folder image Files (43)  
File Role Description
Files folder imagepublic (1 file, 3 directories)
Files folder imageresources (3 files, 1 directory)
Files folder imagedoc (3 files)
Accessible without login Plain text file README.md Doc. Readme file.
Accessible without login Plain text file LICENSE Lic. License text

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  
 100%
Total:283
This week:0
All time:7,583
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1351