PHP Classes
elePHPant
Icontem

Lights GD: Render blueprint image of house windows with panes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-03 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 236 All time: 7,237 This week: 1,311Up
Version License PHP version Categories  
lights-gd 5.2GNU General Publi...5.0PHP 5, Graphics
Description Author  

This class can render blueprint image of house windows with panes.

It can create images with blueprint drawings of plastic or wooden windows for houses from parameters that define the details of the windows like the number of panes, pane borders, doorknobs, colors, inner spaces, etc..

The generated images are outputted in PNG format as data URLs embedded in HTML IMG tags.

Innovation Award  
PHP Programming Innovation award nominee
December 2013
Number 5
Every house project needs blueprints, so the builders know what they need to do to build the house.

This can render blueprints for windows of houses by generating images from the definitions of the window panes and other details.

Manuel Lemos
Picture of Alex
Name: Alex <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 43
All time rank: 362899 in Russian Federation Russian Federation
Week rank: 1559 Up51 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

Details provided by the author  
Lights_GD
========================

PHP Class to:
Generate a blueprint of plastic window from extended list of settings


Installation:
=========================
just copy files into any folder on your server
point your browser to http://domain/path_to_folder/configure.php

Window settings
=========================
- Start from choosing a number of panes you would like to have in your window
- Empty pane is a pane that have no border, no inner frame, no doorknob. just outer frame
- If want some more options then choose "No" for "Empty" settings
- Border: you regulate thickness of a border, color (whaite or gray)
- Thin Inner Padding: on a scheme there wil be 20lined border
- Choose type of doorknob or leave it without one
- Dashed: add thin dashed line to the right of a pane
- Pane Stars
- Pane Arrows
- Use dotted or solid line for stars
- Deviders:
  - there 10 types of configuration. You'll explanation of each type in doc/panes.pdf
  - Proportion distance will allocate equal space for each devided part of a pane
  - Custom distance will follow your settings (add them in format XX or XX:YY or XX:YY:ZZ)
  Files folder image Files  
File Role Description
Accessible without login Image file bg.png Icon background
Accessible without login Plain text file configure.php Aux. Interface to the class
Accessible without login Plain text file createPanes.php Example here we creating each pane
Accessible without login Plain text file fullsize.php Example here is a picture of complete window
Accessible without login Plain text file jquery-1.4.4.min.js Data jquery
Plain text file Light_GDClass.php Class Class itself
Accessible without login Plain text file preview.php Example generate a thumbnail of a window
Accessible without login Image file preview_placeholder.jpg Icon placeholder
Accessible without login Plain text file README.md Doc. ReadMe
Accessible without login Plain text file style.css Data css for expampe page
Accessible without login Plain text file validateForm.php Aux. validator for example form

 Version Control Unique User Downloads Download Rankings  
 100%Total:236All time:7,237
 This week:0This week:1,311Up