Login   Register  
PHP Classes
elePHPant
Icontem

Gig Cable Label: Generate label images in resistors code colours

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (99)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-02 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 309 All time: 6,457 This week: 1,412Up
Version License PHP version Categories  
gig-cables-code 1.0GNU Lesser General Publ...5.3HTML, PHP 5, Graphics, Printing
Description Author  
PHP Programming Innovation award nominee
July 2012
Number 4
This class can generate label images for color coded resistors.

It takes the resistance value of an electric resistor and generates an image for a page with a grid of labels that show the resistance value with the respective color code stripes, as well QR-code for the same for associated values.

The class can generate the label images. The generated images are saved to a file in the PNG format and are embedded in the generated page HTML.

It may also return a JSON encoded object with the label image dimensions and image data encoded in base64.

The size of the page and the number of labels in the grid are configurable parameters.
Picture of Karl Holz
Name: Karl Holz is available for providing paid consulting. Contact Karl Holz .
Classes: 11 packages by
Country: Canada Canada
Age: 33
All time rank: 87722 in Canada Canada
Week rank: 204 Up7 in Canada Canada Up
Innovation award
Innovation award
Nominee: 6x

Screenshots  
  • output
  • new-ui-july13.png
  Files folder image Files  
File Role Description
Files folder imagecss (2 files, 1 directory)
Files folder imageGigCableLabel (8 files)
Files folder imagejs (4 files)
Files folder imagephpqrcode (19 files, 3 directories)
Plain text file gigcablelabel.class.php Class Class that generates the png images from numeric strings
Accessible without login Plain text file giglabel.php Example Gig Cable label as web service, Accepts GET,POST,PUT and DELETE HTTP methods on select resources
Accessible without login HTML file index.html Doc. REST client to giglabel.php
Accessible without login Plain text file licence.txt Lic. Documentation
Accessible without login Image file NewGigCableLabel.png Data newer screen shot
Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files  /  css  
File Role Description
Files folder imageimages (12 files)
  Accessible without login Plain text file qr.css Data Custom CSS
  Accessible without login Plain text file style.css Data jquery ui css

  Files folder image Files  /  css  /  images  
File Role Description
  Accessible without login Image file ui-bg_diagonals-th...48_1e158e_40x40.png Icon Icon image
  Accessible without login Image file ui-bg_diamond_75_09810b_10x8.png Icon Icon image
  Accessible without login Image file ui-bg_dots-medium_55_fbf9ee_4x4.png Icon Icon image
  Accessible without login Image file ui-bg_dots-medium_95_fef1ec_4x4.png Icon Icon image
  Accessible without login Image file ui-bg_hexagon_65_4c7d0d_12x10.png Icon Icon image
  Accessible without login Image file ui-bg_hexagon_75_1727d9_12x10.png Icon Icon image
  Accessible without login Image file ui-bg_hexagon_75_2d5841_12x10.png Icon Icon image
  Accessible without login Image file ui-bg_loop_0_1f08bf_21x21.png Icon Icon image
  Accessible without login Image file ui-bg_loop_30_7ea276_21x21.png Icon Icon image
  Accessible without login Image file ui-icons_2e83ff_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_cd0a0a_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ffffff_256x240.png Icon Icon image

  Files folder image Files  /  GigCableLabel  
File Role Description
  Accessible without login Plain text file data.ini Data class config file
  Accessible without login Plain text file north_america.ini Data resister code colours
  Accessible without login Plain text file ui-department.ini Data UI Config
  Accessible without login Plain text file ui-level.ini Data UI Config
  Accessible without login Plain text file ui-page_size.ini Data UI Config
  Accessible without login Plain text file ui-type.ini Data UI Config
  Accessible without login Plain text file ui-unit.ini Data UI Config
  Accessible without login Plain text file ui.ini Data UI Config

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file jquery-1.7.2.min.js Data jquery
  Accessible without login Plain text file jquery-ui-1.8.21.custom.min.js Data jquery ui
  Accessible without login Plain text file json2.js Data jquery json
  Accessible without login Plain text file qr-label.js Data custom jquery for loading label preview

  Files folder image Files  /  phpqrcode  
File Role Description
Files folder imagebindings (1 directory)
Files folder imagecache (40 files)
Files folder imagetools (5 files)
  Accessible without login Plain text file CHANGELOG Data phpqrcode files needed by class for QR codes
  Accessible without login Plain text file index.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file INSTALL Doc. phpqrcode files needed by class for QR codes
  Accessible without login Plain text file LICENSE Lic. phpqrcode files needed by class for QR codes
  Accessible without login Plain text file phpqrcode.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrbitstream.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrconfig.php Conf. phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrconst.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrencode.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrimage.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrinput.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrlib.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrmask.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrrscode.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrspec.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrsplit.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file qrtools.php Example phpqrcode files needed by class for QR codes
  Accessible without login Plain text file README Data phpqrcode files needed by class for QR codes
  Accessible without login Plain text file VERSION Data phpqrcode files needed by class for QR codes

  Files folder image Files  /  phpqrcode  /  bindings  
File Role Description
Files folder imagetcpdf (1 file)

  Files folder image Files  /  phpqrcode  /  bindings  /  tcpdf  
File Role Description
  Accessible without login Plain text file qrcode.php Example Example script

  Files folder image Files  /  phpqrcode  /  cache  
File Role Description
  Accessible without login Image file frame_1.png Icon Icon image
  Accessible without login Image file frame_10.png Icon Icon image
  Accessible without login Image file frame_11.png Icon Icon image
  Accessible without login Image file frame_12.png Icon Icon image
  Accessible without login Image file frame_13.png Icon Icon image
  Accessible without login Image file frame_14.png Icon Icon image
  Accessible without login Image file frame_15.png Icon Icon image
  Accessible without login Image file frame_16.png Icon Icon image
  Accessible without login Image file frame_17.png Icon Icon image
  Accessible without login Image file frame_18.png Icon Icon image
  Accessible without login Image file frame_19.png Icon Icon image
  Accessible without login Image file frame_2.png Icon Icon image
  Accessible without login Image file frame_20.png Icon Icon image
  Accessible without login Image file frame_21.png Icon Icon image
  Accessible without login Image file frame_22.png Icon Icon image
  Accessible without login Image file frame_23.png Icon Icon image
  Accessible without login Image file frame_24.png Icon Icon image
  Accessible without login Image file frame_25.png Icon Icon image
  Accessible without login Image file frame_26.png Icon Icon image
  Accessible without login Image file frame_27.png Icon Icon image
  Accessible without login Image file frame_28.png Icon Icon image
  Accessible without login Image file frame_29.png Icon Icon image
  Accessible without login Image file frame_3.png Icon Icon image
  Accessible without login Image file frame_30.png Icon Icon image
  Accessible without login Image file frame_31.png Icon Icon image
  Accessible without login Image file frame_32.png Icon Icon image
  Accessible without login Image file frame_33.png Icon Icon image
  Accessible without login Image file frame_34.png Icon Icon image
  Accessible without login Image file frame_35.png Icon Icon image
  Accessible without login Image file frame_36.png Icon Icon image
  Accessible without login Image file frame_37.png Icon Icon image
  Accessible without login Image file frame_38.png Icon Icon image
  Accessible without login Image file frame_39.png Icon Icon image
  Accessible without login Image file frame_4.png Icon Icon image
  Accessible without login Image file frame_40.png Icon Icon image
  Accessible without login Image file frame_5.png Icon Icon image
  Accessible without login Image file frame_6.png Icon Icon image
  Accessible without login Image file frame_7.png Icon Icon image
  Accessible without login Image file frame_8.png Icon Icon image
  Accessible without login Image file frame_9.png Icon Icon image

  Files folder image Files  /  phpqrcode  /  tools  
File Role Description
  Accessible without login Plain text file merge.bat Data Auxiliary data
  Accessible without login Plain text file merge.php Example Example script
  Accessible without login Plain text file merge.sh Data Auxiliary data
  Accessible without login Plain text file merged_config.php Example Example script
  Accessible without login Plain text file merged_header.php Example Example script

Innovation Award  
PHP Programming Innovation award nominee
July 2012
Number 4
Resistors are components used frequently in electronic devices. They usually have color coded stripes that tell what is the resistance value of the resistor.

This class can generate labels suitable for printing that use the same color coded stripes used in resistors.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 97%Total:309All time:6,457
 This week:0This week:1,412Up