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

Posted by "Manoj Kr. Sheoran" on 11/07/05 12:07

Hi Pranav,
Thanks for reply and it really helped me a lot.
Now I have one more issue: -
PNG doesn't support CMYK color scheme and that is supported by JPEG so I
need to convert it to JPEG and then JPEG back to Press optimized pdf.

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.

Thanks..

Regards,
Manoj

----- Original Message -----
From: "Pranav Negandhi" <pranav@concept-i.co.in>
To: <php-general@lists.php.net>
Sent: Monday, November 07, 2005 2:48 PM
Subject: Re: [PHP] Creating PDF from a Image


> You're sure to find a working example on the fpdf site, that uses images.
>
> Check here http://www.fpdf.org/en/tutorial/index.php
>
> If you have the resources, PDFLib is a commercial component that makes
> your work a lot easier.
>
> http://www.pdflib.com/
>
> Regards,
> Pranav
> www.concept-i.co.in
>
> Manoj Kr. Sheoran wrote:
> > Dear Pranav,
> > Thanks!
> > I would like to do something like this:
> > ABC.PNG --> (CONVERT USING ANY PHP LIBRARY)->ABC.PDF
> >
> > abc.pdf should be Press optimized pdf. Press optimized is the somewhat
high
> > level of pdf format.
> > Your suggestions are hightly appreciated.
> >
> > Thanks &Regards,
> > Manoj
> >
> >
> > ----- Original Message -----
> > From: "Pranav Negandhi" <pranav@concept-i.co.in>
> > To: <php-general@lists.php.net>
> > 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, 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. 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?
> >
> >>>Any suggestion?
> >>>
> >>>Regards,
> >>>Manoj
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

 

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

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