473,657 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

looking for library to read ppt files

i'm looking for a way to read ppt (powerpoint) files using python and
to convert slides into jpeg files.
any links or tips how to do this?

Apr 16 '07 #1
5 5999
Aljosa Mohorovic wrote:
i'm looking for a way to read ppt (powerpoint) files using python and
to convert slides into jpeg files.
any links or tips how to do this?
Not really a Python question but Google turned up:

http://www.sharewareconnection.com/p...-converter.htm
http://www.print-driver.com/howto/co...on_to_jpeg.htm
-Larry
Apr 16 '07 #2
On Apr 16, 1:42 pm, Larry Bates <larry.ba...@we bsafe.comwrote:
Aljosa Mohorovic wrote:
i'm looking for a way to read ppt (powerpoint) files using python and
to convert slides into jpeg files.
any links or tips how to do this?

Not really a Python question but Google turned up:

http://www.sharewareconnection.com/p...crosoft_powerp...

-Larry
I suppose you could also use the win32 module and the COM object to
grab the info from the slide and then use the PIL module to create a
jpeg. Sounds like a lot of head banging to me, but it might be an
interesting project.

For info on accessing PowerPoint with Python, see links below:

http://www.thescripts.com/forum/thread592690.html
http://www.thescripts.com/forum/thread19132.html
http://www.p-nand-q.com/python/ms_office.html

Also see Hammond's "Python Programming on Win32" book or Chun's Core
Python Programming". Both have some examples of accessing MS Apps.

PIL can be found at: http://www.pythonware.com/products/pil/

Mike

Apr 16 '07 #3
Not really a Python question but Google turned up:
it is a python question. i'm not looking for a program, i'm looking
for a library.
my goal is to convert ppt to jpegs but later i wish to convert to swf
and maybe implement animations
I suppose you could also use the win32 module and the COM object to
grab the info from the slide and then use the PIL module to create a
jpeg. Sounds like a lot of head banging to me, but it might be an
interesting project.
i can't use win32 because it should work on linux since it will be
used as server-side application.

Apr 18 '07 #4
On Wed, 2007-04-18 at 06:30 -0700, Aljosa Mohorovic wrote:
Not really a Python question but Google turned up:
it is a python question. i'm not looking for a program, i'm looking
for a library.
my goal is to convert ppt to jpegs but later i wish to convert to swf
and maybe implement animations
I suppose you could also use the win32 module and the COM object to
grab the info from the slide and then use the PIL module to create a
jpeg. Sounds like a lot of head banging to me, but it might be an
interesting project.
i can't use win32 because it should work on linux since it will be
used as server-side application.
How about running a headless OpenOffice instance and remote-controlling
it with pyuno:

http://udk.openoffice.org/python/python-bridge.html

-Carsten
Apr 18 '07 #5
On Apr 18, 4:02 pm, Carsten Haese <cars...@uniqsy s.comwrote:
How about running a headless OpenOffice instance and remote-controlling
it with pyuno:

http://udk.openoffice.org/python/python-bridge.html

-Carsten
i'll try oo, thanks for link.

Apr 18 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
4965
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own libraries. I'm not sure if that's a good thing or not. AFAIK, most of Qt is compatable with the Standard Library. That is, QLT can interoperate with STL, and you can convert back and forth between std::string and Qt::QString, etc. Are there any...
3
2130
by: Jack Klein | last post by:
I'm looking for opinions on a C technique I, and others, have used successfully in the past. While some people swear by, apparently others swear at it. Assume a part of a program too large to fit comfortably in a single source file, call it a "module". Let's call it "module A". Also assume for various reasons module A needs a private data store with static storage duration, accessible from files in more than one translation unit. ...
19
2498
by: Deniz Bahar | last post by:
Hi, I would like to call one of my functions the exact name as an existing C library function (for example K&R2 exercises asks me to make an atof function). If I don't include the header with the declaration for the C library function (stdlib.h in this case) then define/declare my own function with the same name, am I safe? It seems to work on my compiler, but I wonder if this is portable or even acceptable? thx
1
6567
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted. TIA, Brian
2
2260
by: enrique | last post by:
Hello everyone, I'm looking for a "directory path" solution that will allows me to test my app locally and then test on remote web server without having to update my web.config file each time I modify the file. In other words I'm storing the paths (for centralizing purposes) as custom <appSettings> in the web.config. expample (for local testing): <add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
11
1933
by: Eigenvector | last post by:
I apologize if this is a trivial question, but it's always made me wonder when I have to compile my code. There are some #includes that you don't really need to reference in your library and header references in the compilation string. For instance the standard hello.c #include <stdio.h> int main()
1
1295
by: SteveT | last post by:
I've written a small library that contains external XML files that will be read by the DLL during program execution. I want to use the "Test View" features of VS2005 to debug the reading of the XML files. The issue I have is that the debugger creates temporary folders and copies the DLL to it when using the "Test View" tool. My XML files are copied to the BIN directory of the library so the debugger can't see the XML files to read them. ...
2
1316
by: Verbal Kint | last post by:
Hello. I am having a problem here, which is difficult to solve for me. I would like to include a library from the net into my program. As IDE I am using Microsoft Visual C++ 8 Professional. The library can be obtained from the following page: http://www.robertnz.net/nm10.htm I read the attached text files but I didn't understand it. Could you please give me some advice, how to run the make files in my IDE? Do I
16
3270
by: Xiaoxiao | last post by:
Hi, I got a C library, is there a way to view the public function names in this library so that I can use in my C program? Thanks.
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.