473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PPT => Bitmaps

Hello everyone,

does somebody knows how I can extract Bitmaps from a Powerpoint file (one
per slide)? I found some ressources which opens Powerpoint as application
and controls it programmatically. But I am looking for a way to do this
without the help of Powerpoint itself. Would I need a kind of a rendering
engine for this file format? Or are kind of "thumbnails" embeded inside if
such a file?
Will the "Microsoft Power Point 9.0 Object Library" help me or what is it
usefull for?

Thank you for any advice.

Sascha
Nov 16 '05 #1
4 4890
Sascha,

I would think that the powerpoint file format is something that is not a
publically known format, and because of that, would recommend going through
the object model that you found. If you have a piece of code that shows how
to do it, then we can probably show you how to do it in .NET.

And yes, you will have to use the Microsoft Power Point 9.0 Object
Library.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sascha Kerschhofer" <sk**********@yahoo.antispam.de> wrote in message
news:ch**********@news.mch.sbs.de...
Hello everyone,

does somebody knows how I can extract Bitmaps from a Powerpoint file (one
per slide)? I found some ressources which opens Powerpoint as application
and controls it programmatically. But I am looking for a way to do this
without the help of Powerpoint itself. Would I need a kind of a rendering
engine for this file format? Or are kind of "thumbnails" embeded inside if
such a file?
Will the "Microsoft Power Point 9.0 Object Library" help me or what is it
usefull for?

Thank you for any advice.

Sascha

Nov 16 '05 #2
Thank you Nicholas,

I found code under
http://devhawk.net/default.aspx?date=2004-03-10
the author opens the file in powerpoint in fullscreen mode and than produces
screenshots per slide. This is indeed not what I want since you can't use
the maschine while doing this.

Another Variant is

PowerPoint.ApplicationClass pptApp = new PowerPoint.ApplicationClass();
pptApp.Activate();
Office.MsoTriState obj = Office.MsoTriState.msoTrue;
PowerPoint.Presentation pp = pptApp.Presentations.Open("path of your
presentation",obj,obj,obj);
PowerPoint.SlideShowWindow slideShow = pp.SlideShowSettings.Run();

Maybe I could call the "save as web pages". Anyway I use Powerpoint itself
to get my Bitmaps.

Going through the object model means extracting properties of shapes and
then Render it anyway. Is this what you ment? Or is there something like a
Slide.ExtractToImage() Method. Where can I find the documentation of the
object model?
http://msdn.microsoft.com/library/de...pptocOMMap.asp
seems like the OM of the Powerpoint Application itself rather than of the
Document.

Sascha

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Sascha,

I would think that the powerpoint file format is something that is not a publically known format, and because of that, would recommend going through the object model that you found. If you have a piece of code that shows how to do it, then we can probably show you how to do it in .NET.

And yes, you will have to use the Microsoft Power Point 9.0 Object
Library.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sascha Kerschhofer" <sk**********@yahoo.antispam.de> wrote in message
news:ch**********@news.mch.sbs.de...
Hello everyone,

does somebody knows how I can extract Bitmaps from a Powerpoint file (one per slide)? I found some ressources which opens Powerpoint as application and controls it programmatically. But I am looking for a way to do this
without the help of Powerpoint itself. Would I need a kind of a rendering engine for this file format? Or are kind of "thumbnails" embeded inside if such a file?
Will the "Microsoft Power Point 9.0 Object Library" help me or what is it usefull for?

Thank you for any advice.

Sascha


Nov 16 '05 #3
Sascha,

As far as I know, the Powerpoint object model doesn't provide a way to
do this. Basically, you will have to use the recommendation that the site
makes.

Are you trying to display your powerpoint presentations on the web? I
thought that MS had a product that will take powerpoint presentations and
make them more web-friendly (I forget the name of it, but they put all the
presentations from Tech-Ed on the web)?

Also, given the dynamic nature of powerpoint presentations, it might not
be enough to just get snapshots of the slides (although for a good number of
them, it would be ok).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sascha Kerschhofer" <sk**********@yahoo.antispam.de> wrote in message
news:ch**********@news.mch.sbs.de...
Thank you Nicholas,

I found code under
http://devhawk.net/default.aspx?date=2004-03-10
the author opens the file in powerpoint in fullscreen mode and than
produces
screenshots per slide. This is indeed not what I want since you can't use
the maschine while doing this.

Another Variant is

PowerPoint.ApplicationClass pptApp = new PowerPoint.ApplicationClass();
pptApp.Activate();
Office.MsoTriState obj = Office.MsoTriState.msoTrue;
PowerPoint.Presentation pp = pptApp.Presentations.Open("path of your
presentation",obj,obj,obj);
PowerPoint.SlideShowWindow slideShow = pp.SlideShowSettings.Run();

Maybe I could call the "save as web pages". Anyway I use Powerpoint itself
to get my Bitmaps.

Going through the object model means extracting properties of shapes and
then Render it anyway. Is this what you ment? Or is there something like a
Slide.ExtractToImage() Method. Where can I find the documentation of the
object model?
http://msdn.microsoft.com/library/de...pptocOMMap.asp
seems like the OM of the Powerpoint Application itself rather than of the
Document.

Sascha

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Sascha,

I would think that the powerpoint file format is something that is
not

a
publically known format, and because of that, would recommend going

through
the object model that you found. If you have a piece of code that shows

how
to do it, then we can probably show you how to do it in .NET.

And yes, you will have to use the Microsoft Power Point 9.0 Object
Library.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sascha Kerschhofer" <sk**********@yahoo.antispam.de> wrote in message
news:ch**********@news.mch.sbs.de...
> Hello everyone,
>
> does somebody knows how I can extract Bitmaps from a Powerpoint file (one > per slide)? I found some ressources which opens Powerpoint as application > and controls it programmatically. But I am looking for a way to do this
> without the help of Powerpoint itself. Would I need a kind of a rendering > engine for this file format? Or are kind of "thumbnails" embeded inside if > such a file?
> Will the "Microsoft Power Point 9.0 Object Library" help me or what is it > usefull for?
>
> Thank you for any advice.
>
> Sascha
>
>



Nov 16 '05 #4
Hi Nicholas,
Are you trying to display your powerpoint presentations on the web? I
thought that MS had a product that will take powerpoint presentations and
make them more web-friendly (I forget the name of it, but they put all the
presentations from Tech-Ed on the web)?


No. I want to display the list of Slides in my WinApp beyond each other.
Further I would like to Write a "Player" which can display single slides
among others and navigate with back-forward buttons. Third I need the
slides as Bitmaps so that FOP can process them to PDFs.

Have you any ideas left? What about the Clipboard?

Sascha
Nov 16 '05 #5

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

Similar topics

0
by: Brad Smalling | last post by:
Does anyone know if there is a reason to prefer bitmaps over icons (or vice-versa) when populating image lists? I've always favored icons because of their built-in transparency (although I've...
1
by: Mark Evans | last post by:
I have a dialog box and on it I want to display a bitmap, which will change at various times during the program. My problem is that the bitmaps will not be the same each time. I want the user to...
4
by: Nathan | last post by:
Hello, I'm needing some advice: I have an app for which I've built a timer out of multiple bitmaps--a clock with a moving hands. I've saved each hand position (1 second, 2 seconds, etc.) as a...
1
by: John | last post by:
I have 76 bitmaps (640 x 480) and need to combine them together to form a big one (about 3840 x 2880). Those 76 bitmaps overlap each other with a small portion. Is there any way to do it? Thanks.
1
by: Peter Stojkovic | last post by:
What is the correct way to move BITMAPS and drawings inside a windows-forms from one project to another project. The problem is the following row: Dim resources As...
2
by: Mike | last post by:
Hello everybody. I am drawing a country map that consists of 149 municipality bitmaps, each around 25 Kb. I draw it onto the in-memory bitmap, then draw it on the picture box. I use C++, but...
3
by: Iwanow | last post by:
Hello! My goal is to develop a program that opens a bitmap, copies its pixels to an ArrayList in order to perform some complex calculations (edge detection, Hough transform etc.), and save...
1
by: nkumarin001 | last post by:
Hi, Can anyone help me in this matter:- When i was studying locally managed tablespaces i came across bitmaps that are used in locally managed tablespaces it stated that:- "Locally...
0
by: adstheman | last post by:
Hi all, I am maintaining a group of applications which share Access databases. In the newer version of the software products we have upgraded from DAO to ADO and also implemented routines to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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,...

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.