28 June 2009
By Pau Sanchez
In PHP, Programming
Following function detects if the GIF contains an animation (it has more than 1 frame) or is just a static file.
function isAnimatedGif($filename)
{
$filecontents=file_get_contents($filename);
$str_loc=0;
$count=0;
// There is no point in continuing after we find a 2nd frame
[...]
Continue reading
animado, gif, PHP
03 June 2009
By Pau Sanchez
In General
While I was in UK, I bought a Canon PIXMA iP2600 printer. It was not expensive at all and the ink was not as expensive as other printers, so I though it would be a good purchase for the price.
The thing is that when I tried to install the printer in Ubuntu 64-bit, there were [...]
Continue reading
impresora, linux, ubuntu, usb