Elxis CMS Forum

Support => Administration => Topic started by: kdw on November 07, 2006, 09:50:24

Title: Logo in PDF
Post by: kdw on November 07, 2006, 09:50:24
Hi,

when I create a PDF File from the frontpage there is a Elxis logo on the left top of the page. Can I change this from the admin panel ? Where is this imagefile located ?
Thanks
Title: Re: Logo in PDF
Post by: datahell on November 07, 2006, 10:36:51
It is the /images/logo.png the one that is displayed in PDF. Change this to your company's logo if you wish. Keep the same name (logo.png).
Title: Re: Logo in PDF
Post by: kdw on November 07, 2006, 10:56:51
this is the logo inside my pdf. The /images/logo.png in my installation is an other picture.


[old attachment deleted by admin]
Title: Re: Logo in PDF
Post by: datahell on November 07, 2006, 11:01:55
My mistake, sorry. It is the /includes/tcpdf/images/logo.png image.

Note that Elxis PDF does not handle complicated html well (tables for example) but gives very good results for paragraphs, divs and general simple html. Elxis PDF must be considered as beta and, as far as I know,  is the only implementation of PDF in a CMS that really supports UTF-8 and multilingual content.
Title: Re: Logo in PDF
Post by: CREATIVE Options on November 07, 2006, 19:04:16
Also I want to add that the logo you want to change must be made or closed only with Photoshop.

If you make or close the png file with any other program such us Corel Photopaint, Macromedia Fireworks probably you will have problems with the Alpha channel.
Title: Re: Logo in PDF
Post by: kdw on November 07, 2006, 21:31:40
Hi ,

thanks for that info. But I have an easy solution for this problem:

1. Use linux
2. Draw a beautiful picture with gimp, save this as 'logo_with_alpha.png'
4. Open a shell: 
Code: [Select]
# > convert logo_with_alpha.png    -background white   -flatten   +matte   logo.png
Now you can use logo.png with the pdf-creator

5. Never use that microsoft scrap any more.

If you need more info about  convert

http://amath.colorado.edu/computing/software/man/convert.html