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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php