You are here: Re: [PHP] Creating PDF from a Image « PHP « IT news, forums, messages
Re: [PHP] Creating PDF from a Image

Posted by "Richard Lynch" on 10/03/59 11:31

On Mon, November 7, 2005 9:20 am, Manoj Kr. Sheoran wrote:
> PNG doen't support CMYK color scheme that's why I want to convert it
> in JPG
> first and then I want to create pdf file from that PJG file. I created
> pdf
> file from PJG using fpdf but no idea that how to I convert PNG to jpg
> file
> (not using any third part tool only uing php).

http://php.net/gd

This will let you imagecreatefromgif() and then imagejpeg()

Though, technically, it is using a 3rd party tool (GD) and not "just"
PHP.

Of course, that could be said of about 99% of what's in what you
probably think of as "just" PHP...

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация