Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Gif to Pdf
Message
De
24/10/2010 11:20:54
 
 
À
24/10/2010 09:58:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
01486754
Message ID:
01486761
Vues:
70
>I have over 100,000 gif files that I want to convert to pdf. I have acrobat 9 and I can convert 1,500 at a time, but I want to automate this so I can convert these withouth having to watch them and do them manually in acrobat. Does anyone know how to do this using foxpro or within acrobat itself? I can't find code anywhere to help me do this.

I'd give a look to quickpdf.

I'm using the full paid version for highly sophisticated stuff. I've check but I'd expect their relatively new free lite version to perform these kind of task efficiently.

Some typical quickpdf pseudo code (sorry you'll have to check the parameters ...)

oPdf = CREATEOBJECT(""QuickPDFAX0719.PDFLibrary"")
oPdf.UnlockKey("yourkey")
FOR i=1 TO mydocumentcount
oPdf.NewDocument
oPDF.SetPageSize("Letter")
oPdf.AddImageFromFile
oPdf.DrawImage
oPdf.SaveToFile
ENDFOR

This library - especially the full version - is impressive. Of course that implies some learning. And you'll have to check that the lite version allows for what I wrote above. According to the documentation, it should but I have tested it.

Good luck

Regards

PS: quickpdf is extremely efficient at producing pdf. It may at times produces perfectly valid but un-optimized pdfs. There is no better tools - and possibly no other - than Acrobat 9 to efficiently compress quickpdf generated stuff.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform