PHP Classes

Lights GD: Render blueprint image of house windows with panes

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 251 All time: 7,900 This week: 347Up
Version License PHP version Categories
lights-gd 5.12GNU 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
  Performance   Level  
Name: Alex <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 52
All time rank: 3979114 in Russian Federation Russian Federation
Week rank: 312 Up13 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

Details

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
Files folder imagedoc (2 files)
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

  Files folder image Files  /  doc  
File Role Description
  Accessible without login Plain text file panes.pdf Data Auxiliary data
  Accessible without login Plain text file panes2.pdf Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:251
This week:0
All time:7,900
This week:347Up