If I have any node with image content pdfview chokes on it. I get the following (as an example):

TCPDF error: Unsupported image type: org/filemanager/active?fid=834

I thought this thing said it took images :) This first happened with a GIF animation, so I figured maybe there were problems with GIF89a - not that there's any reason for that to be the case. Turns out it happens with jpegs too.

I'm using php4, and have the appropriate version of tcpdf loaded.

tcpdf works properly on nodes which have no images.

I'm using acidfree, is that potentially a problem for some reason?

Comments

motou’s picture

TCPDF supports JPEG and PNG format only. So....it's not the problem of the module, but the related PHP Class.

Egon Bianchet’s picture

That's true for gif images ... I'm working on a filter to prepare image urls before passing them to tcpdf. Acidfree is not going to be supported in the immediate future.

Egon Bianchet’s picture

Status: Active » Closed (duplicate)