0xdeadbeef Wrote: 
> 2006-04-24 00:31:56.1425 HTTP request: from 192.168.178.25
> (HTTP::Daemon::ClientConn=GLOB(0xa691b80)) for GET HTTP/1.1
> /music/1969/thumb_100x100_f_000000.jpg 
> 2006-04-24 00:31:56.1471 processURL Clients: 192.168.178.50:28835
> 2006-04-24 00:31:56.1482 Generating response for (jpg, image/jpeg)
> music/1969/thumb_100x100_f_000000.jpg
> 2006-04-24 00:31:56.1559 Cover Art asking for: thumb at size 100x100
> 2006-04-24 00:31:56.1565 can CoverArt
> 2006-04-24 00:31:56.1634 got cover art image image/jpeg of 15051 bytes
> 2006-04-24 00:31:56.1641 can't use GD or no need to process image
> 2006-04-24 00:31:56.1667 End request: keepAlive: [9] - waiting for next
> request on connection = keep-alive
> 
> An my GD revisions are:
> 
> libgd2-xpm  : 2.0.33-1.1ubuntu1
> libgd-gd2-perl : 2.23-1

I've just commited a change that splits those two error messages out. 
Would you repeating the same test on the latest revision, just to make
sure that its not a something trivial in the logic.

Assuming it is GD that's causing the problem, the test that produces
the message:

'Trying to load GD Library for TTF support: ok'

is as follows:
# TrueType support by using GD
my $canUseGD = eval {
        require GD;
        return 1;
};

Whereas the code to check for GD support when resizing is:

my $canUseGD = eval {
        require GD;
        if (GD::Image->can('jpeg')) {
                return 1;
        } else {
                return 0;
        }
};

Hence I would guess that the problem is that jpeg support isn't
compiled in to GD.  I'm afraid my knowledge of GD is fairly limited;
perhaps someone better informed could advise.

Chris Key


-- 
cjk32
------------------------------------------------------------------------
cjk32's Profile: http://forums.slimdevices.com/member.php?userid=5151
View this thread: http://forums.slimdevices.com/showthread.php?t=23206

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to