Re: Creating PDF from a Image

From: Date: Tue, 08 Nov 2005 23:27:39 +0000
Subject: Re: Creating PDF from a Image
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-225332@lists.php.net to get a copy of this message
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

« previous php.general (#225332) next »