|
|
Mini Neon Accent Kits and Tubes
|
|
Highlight Hard to Reach places with these car neon lights
|
|
|
Achieving a neon glow in those tight, hard-to-install areas is now possible with StreetGlow's Mini-Neon accent kits. These car neon tubes come in 3", 6", 9", or 12". |
Mini Neon Accent Kits and Tubes
One Pair. 12" Mini Neon Accent Tubes
|
MSRP $44.99
|
|
Mini Neon Accent Kits and Tubes
3" Ultra Mini Neon Accent Kit. Two tubes.
|
MSRP $37.99
|
|
Mini Neon Accent Kits and Tubes
6" Ultra Mini Neon Accent Kit. Two Tubes
|
MSRP $39.99
|
|
Mini Neon Accent Kits and Tubes
One Pair. 9" Mini Neon Accent Tubes
|
MSRP $42.99
|
|
|
|
Featuring two slim car neon light tubes per kit, great for neon glows in tight areas. 0.44 OD (size of a #2 pencil)
Achieving a neon glow in those tight, hard-to-install areas is now possible with StreetGlow's ULTRA Mini-Neon® accent kits. These neon tubes come in 3" or 6" lengths. They are perfect for highlighting a car's glove compartment, dashboard, under seats, speaker grills, behind vents or door pockets. Each tube has a 3' power cord that plugs into a seperate power transformer - allowing for easy wiring installation and tube positioning.
Available in nine exotic colors these tubes can complement an existing lighting system, or be a starter kit for the beginner.
Each tube comes complete with operating and installation instructions, mounting hardware and lifetime warranty.
/*
EasyThumbnail - versão 0.1 - Por Rogério Bragil - Esta classe
cria um thumbnail de uma imagem através de um cálculo de aproximação. Você
pode criar miniaturas de imagens de diferentes tamanhos que o resultado será
uma coleção de thumbnails de dimensões parecidas. Ideal para albuns de fotos,
onde basta você fazer o upload da imagem e deixar a classe gerar o thumbnail.
OBS: trabalha com jpg e png somente.
e-mail: bragil@webdevel.com.br - Qualquer sugestão, dúvida ou crítica serão bem aceitos!
*/
class EasyThumbnail
{
// private
var $debug = true;
// private
var $errflag = false;
// private
var $ext;
// private
var $origem;
// private
var $destino;
// private
var $errormsg;
var $image;
function EasyThumbnail($imagem, $destino, $aprox)
{
// se o arquivo não existir, erro
if (!file_exists($imagem))
{
$this->errormsg= "Image does not exist.";
return false;
}
else
{
$this->origem= $imagem;
$this->destino= $destino;
}
// obtém a extensão do arquivo
if (!$this->ext= $this->getExtension($imagem))
{
$this->errormsg= "Invalid Extension.";
return false;
}
// gera a imagem do thumbnail com o caminho e nome do arquivo especificados
// $this->image = $this->createThumbImg($aprox);
}
// retorna as dimensões (x,y) do thumbnail a ser gerado
function getThumbXY($x, $y, $aprox)
{
if ($x >= $y)
{
if ($x > $aprox)
{
$x1= (int)($x * ($aprox/$x));
$y1= (int)($y * ($aprox/$x));
}
else
{
$x1= $x;
$y1= $y;
}
}
else
{
if ($y > $aprox)
{
$x1= (int)($x * ($aprox/$y));
$y1= (int)($y * ($aprox/$y));
}
// Caso a imagem seja menor do que
// deve ser aproximado, mantém tamanho original para o thumb.
else
{
$x1= $x;
$y1= $y;
}
}
$vet= array("x" => $x1, "y" => $y1);
return $vet;
}
// cria a imagem do thumbnail
function createThumbImg($aprox)
{
// imagem de origem
$img_origem= $this->createImg();
// obtém as dimensões da imagem original
$origem_x= ImagesX($img_origem);
$origem_y= ImagesY($img_origem);
// obtém as dimensões do thumbnail
$vetor= $this->getThumbXY($origem_x, $origem_y, $aprox);
$x= $vetor['x'];
$y= $vetor['y'];
// cria a imagem do thumbnail
$img_final = ImageCreateTrueColor($x, $y);
// $img_final = ImageCreate($x, $y);
ImageCopyResampled($img_final, $img_origem, 0, 0, 0, 0, $x+1, $y+1, $origem_x, $origem_y);
// o arquivo é gravado
if ($this->ext == "png")
imagepng($img_final, $this->destino);
elseif ($this->ext == "jpg")
imagejpeg($img_final, $this->destino);
// return $img_final;
}
// cria uma imagem a partir do arquivo de origem
function createImg()
{
// imagem de origem
if ($this->ext == "png")
$img_origem= imagecreatefrompng($this->origem);
elseif ($this->ext == "jpg" || $this->ext == "jpeg")
$img_origem= imagecreatefromjpeg($this->origem);
return $img_origem;
}
// obtém a extensão do arquivo
function getExtension($imagem)
{
// isso é para obter o mime-type da imagem.
$mime= getimagesize($imagem);
if ($mime[2] == 2)
{
$ext= "jpg";
return $ext;
}
else
if ($mime[2] == 3)
{
$ext= "png";
return $ext;
}
else
return false;
}
// mensagem de erro
function getErrorMsg()
{
return $this->errormsg;
}
function isError()
{
return $this->errflag;
}
}
?>
You may also enjoy these other fine products from 12v Auto Tech
|
Neon Accent Tubes
|
Neon auto accent lights in different colors. 10", 15", and 20" sizes for all sorts of 12v car interior lighting set ups.
|
|
|
Black Light Neon Accent Tubes
|
12 volt black light neon automotive accent tubes. Available in 6", 9", 10",15" and 20" sizes. For interior use only.
|
|
|
|