TCPDF error: Unsupported image type:

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
Lfraaije
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Feb 2009, 16:12

TCPDF error: Unsupported image type:

Post by Lfraaije »

Hello,

I have joomla 1.5.7 and virtuemart 1.1.2. I followed the installation instructions but I have know the following error, 'TCPDF error: Unsupported image type:' does someone have a solution for this error? All needed files are copied on the server.

I hope someon could help me.

Thanks!
Lars Fraaije
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF error: Unsupported image type:

Post by Jan »

Hi, try to change your logo (if it is in png) to e.g. jpg, maybe it helps. TCPDF can have some problem with png ...
If you find Phoca extensions useful, please support the project
Lfraaije
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Feb 2009, 16:12

Re: TCPDF error: Unsupported image type:

Post by Lfraaije »

Thanks for your support! The vendor image was in bmp format. Now I changed it to jpg format.

How can I change the layout of the invoice? Could I add some more information add the invoice?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF error: Unsupported image type:

Post by Jan »

Hi, you can change it in the php code (TCPDF methods are used):
administrator\components\com_virtuemart\pdf\delivery.pdf.php
administrator\components\com_virtuemart\pdf\phoca.tcpdf.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply