User Profile

Collapse

Profile Sidebar

Collapse
setori88
setori88
Last Activity: Nov 21 '08, 10:39 AM
Joined: Sep 12 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • setori88
    started a topic Most efficient way of converting .pdf to .tiff

    Most efficient way of converting .pdf to .tiff

    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...
    See more | Go to post

  • setori88
    replied to bettering my python
    oh i got you, actually your way is better!

    Thanks for that!
    See more | Go to post

    Leave a comment:


  • setori88
    replied to Open Office 2.4 converting .doc to .pdf
    okay found out.

    This line
    Code:
      doc.storeAsURL(url_save, properties)
    needs to be changed to:
    Code:
      doc.storeToURL(url_save, properties)
    All the best
    See more | Go to post

    Leave a comment:


  • setori88
    started a topic Open Office 2.4 converting .doc to .pdf

    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
    ...
    See more | Go to post

  • setori88
    replied to bettering my python
    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)
    ...
    See more | Go to post

    Leave a comment:


  • setori88
    replied to bettering my python
    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:
    was possible, but now it makes complete sense!

    Kind regards
    See more | Go to post

    Leave a comment:


  • setori88
    started a topic bettering my python

    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...
    See more | Go to post
No activity results to display
Show More
Working...