Re[2]: [PHP] Creating PDF from a Image

2005-11-09 Thread Jens Schulze
Richard ([EMAIL PROTECTED]) wrote: > http://php.net/gd > This will let you imagecreatefromgif() and then imagejpeg() I didn't find any mentioning, that the imagejpeg function supports conversion to CMYK, so it is most liky that it will not help the original poster. ImageMagick is the way to go.

Re: [PHP] Creating PDF from a Image

2005-11-08 Thread Richard Lynch
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 >

Re: [PHP] Creating PDF from a Image

2005-11-08 Thread Richard Lynch
On Mon, November 7, 2005 2:06 am, Manoj Kr. Sheoran wrote: > Hi All, > To create fdf with text info is very simple but I am wondering how to > convert a PNG image into pdf file? As I recall... You don't. You convert it to JPEG and pull that in. Actually, libPDF may support PNG now, and maybe e

Re[2]: [PHP] Creating PDF from a Image

2005-11-07 Thread Jens Schulze
Am Monday, November 7, 2005, 4:20:25 PM beglückte uns Manoj ([EMAIL PROTECTED]) mit folgendem Kommentar: > 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 id

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Manoj Kr. Sheoran
y uing php). Secondly, My motive is to create Press optimized pdf file rather than simple pdf file. Thanks for help and looking for suggestion. Regards, Manoj - Original Message - From: "Jens Schulze" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 8:14 PM Subject: Re:

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Jens Schulze
Manoj Kr. Sheoran schrieb: > I 've only PNG as input. Is there any method that can help me to convert PNG > to JPEG and then create PDF to that. PNG and press-ready PDF isn't anything that fits together very well from the view of a prepress professional, but your way would be ImageMagick (http://

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Manoj Kr. Sheoran
help me to convert PNG to JPEG and then create PDF to that. Thanks.. Regards, Manoj - Original Message - From: "Pranav Negandhi" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 2:48 PM Subject: Re: [PHP] Creating PDF from a Image > You're sure to find

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Pranav Negandhi
;Regards, Manoj - Original Message - From: "Pranav Negandhi" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 1:55 PM Subject: Re: [PHP] Creating PDF from a Image There doesn't seem to be any function to add an image to an FDF document, but since an FDF is j

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Manoj Kr. Sheoran
- Original Message - From: "Pranav Negandhi" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 1:55 PM Subject: Re: [PHP] Creating PDF from a Image > There doesn't seem to be any function to add an image to an FDF > document, but since an FDF is just a PDF file,

Re: [PHP] Creating PDF from a Image

2005-11-07 Thread Pranav Negandhi
There doesn't seem to be any function to add an image to an FDF document, but since an FDF is just a PDF file, you might be able to create a hack using a PDF generation library. I've used FPDF for generating PDF's in the past. http://www.fpdf.org Regards, Pranav www.concept-i.co.in Manoj Kr.

[PHP] Creating PDF from a Image

2005-11-07 Thread Manoj Kr. Sheoran
Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj