Hi guys,
I have a series of .pdf file I need to convert to .tiff files.
- I have looked at PIL, though seems PIL does not have .pdf read support
(http://effbot.org/imagingbook/format-pdf.htm)
there is the Ghostscript option, but from previous experience I get resolution problems after the conversion, and no matter how I play with resolution variable the problem persists.
What do you...
User Profile
Collapse
-
Most efficient way of converting .pdf to .tiff
-
oh i got you, actually your way is better!
Thanks for that! -
okay found out.
This line
Code:doc.storeAsURL(url_save, properties)
Code:doc.storeToURL(url_save, properties)
Leave a comment:
-
Open Office 2.4 converting .doc to .pdf
Hi guys
this script i downloaded from here, http://win32com.goermezer.de/index.p...193&Itemid=274
I copied this script and setup and instance of open office writer.
created a .doc file and a copied it making a change to that file.
here is the code
Code:#This script compares two Word documents with OpenOffice via the PyUNO Bridge and shows
-
How about this?
Code:def _email_to_(self, where): self.logger.info("sent email to %s folder" % where) if self.emailDestination == None: self.emailDestination = where def _pidgeon_hole_email(self): if self.emailDestination == "completed": shutil.move(self.currentEmailPath, self._emailpath + self._completedfolder)
Leave a comment:
-
fantastic, thank you so much that is exactly what I was looking for!
I never realised that:
Code:if os.path.splitext(f)[1] in whitelist:
Kind regardsLeave a comment:
-
bettering my python
Hi guys
Firstly I would like to thank all those people who answer these questions on Bytes. Really you guys are fantastic.
Now I have seen guys post code on this site and some gurus come along and reduce it to a few lines of readable, frankly sexy code. I would love to see how optimised you guys can get this, just so I can learn from you.
General overview:
I create a folder with different...
No activity results to display
Show More
Leave a comment: