You are here

function _textimage_dec2hex in Textimage 5.2

Same name and namespace in other branches
  1. 6.2 textimage_admin.inc \_textimage_dec2hex()
  2. 7.2 textimage.admin.inc \_textimage_dec2hex()
1 call to _textimage_dec2hex()
_textimage_font_name in ./textimage_admin.inc

File

./textimage_admin.inc, line 836

Code

function _textimage_dec2hex($dec) {
  $hex = dechex($dec);
  return str_repeat("0", 2 - drupal_strlen($hex)) . drupal_strtoupper($hex);
}