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 programmaticall y. 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 4 4912
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.co m
"Sascha Kerschhofer" <sk**********@y ahoo.antispam.d e> 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 programmaticall y. 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
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.Appl icationClass pptApp = new PowerPoint.Appl icationClass();
pptApp.Activate ();
Office.MsoTriSt ate obj = Office.MsoTriSt ate.msoTrue;
PowerPoint.Pres entation pp = pptApp.Presenta tions.Open("pat h of your
presentation",o bj,obj,obj);
PowerPoint.Slid eShowWindow slideShow = pp.SlideShowSet tings.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.ExtractTo Image() 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.c om> wrote in
message news:%2******** ********@TK2MSF TNGP09.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.co m
"Sascha Kerschhofer" <sk**********@y ahoo.antispam.d e> 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 programmaticall y. 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
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.co m
"Sascha Kerschhofer" <sk**********@y ahoo.antispam.d e> 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.Appl icationClass pptApp = new PowerPoint.Appl icationClass(); pptApp.Activate (); Office.MsoTriSt ate obj = Office.MsoTriSt ate.msoTrue; PowerPoint.Pres entation pp = pptApp.Presenta tions.Open("pat h of your presentation",o bj,obj,obj); PowerPoint.Slid eShowWindow slideShow = pp.SlideShowSet tings.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.ExtractTo Image() 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.c om> wrote in message news:%2******** ********@TK2MSF TNGP09.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.co m
"Sascha Kerschhofer" <sk**********@y ahoo.antispam.d e> 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 programmaticall y. 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 > >
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 never use the invert "color").
But I've noticed that Microsoft seems to favor bitmaps in many of their
sample applications. Is there a reason? For instance, do icons clutter the
icon cache or require more system resources whereas bitmaps do not?
...
|
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 put their
own bitmaps into a directory and the application will pick them off
and display them as required. The bitmaps will always be called the
same thing, ie 1.bmp, 2.bmp, 3.bmp - but they will be different
pictures. I am new to visual...
|
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 separate bitmap, and I make the
clock "tic" down by changing the image of a picture box. The problem, of
course, is that the application uses tons of memory, because each of the
bitmaps is preloaded into an array. Is there an easier way to do...
|
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.
|
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 System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType(frm_ageing_state1))
Where are the bitmaps located ?
| |
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 anyways if I were using the C# the question would be the same.
And here is the problem: it takes 700 ms to draw it, and anything above 300
ms is noticable by the human eye.
So, is there any technique that I could use to actually keep the bitmaps in...
|
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 resulting image back in some
other bitmap.
It works pretty fast, except for stages of coping pixels between bitmap
(object of type Bitmap) and the ArrayList. I'm using the trivial
|
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 managed tablespaces use bitmaps stored within the header of the datafiles comprising a tablespace to track the space utilization of the tablespaces."
AND
When i was studying some other topics i came across...
|
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 upgrade the databases from Access 97 to Access 2000.
However, bitmaps stored in the Access 97 databases when retrieved into a recordset using the older versions of our software (that used DAO) were accessed at a good speed. However, in the newer...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |