Creating a PowerPoint slide directly from an image stream

A

Ata

Is there any way to directly create a PowerPoint slide from an image stream
without first saving the stream to a file and then using the Slide.AddPicture
method? I am currently obtaining an image stream and saving it as a .tif
file, which I then load to a slide by using Slide.AddPicture.

Also, when the byte stream is extremely large, the .tif file is also large
and the image that is written to the slide is compressed with a reduced zoom,
leading to loss of clarity. Is there any way I can overcome this?

Thanks,
Ajay.
 
A

Ata

By loss of clarity, I meant reduced zoom, not really a loss of clarity. Sorry!

I get your explanation for this but is there any way one can overcome the
same, short of manually playing around with the image file?
 
A

Ata

Sorry about that! The point is what you had made in your earlier post:

"On screen it's to be expected; your screen is of a certain fixed size and
in reducing a larger image to fit the number of pixels on the screen, the
image necessarily has to be downsampled. Compared to the original image, the
downsampled image won't be as clear."

I apologize if I wasn't clear that I got your point. In the interest of
absolute clarity, I have a TIFF image that is too big to fit onto a PPT slide
at normal size (let's say 20 inches by 10 inches). So, when I use
Slide.AddPicture, the only way this image can get added in entirety is if the
zoom is reduced to say 50% so that the image with the reduced dimensions (10
inches by 5 inches) fits on the PPT slide. However, I am now viewing the
content of 2 pixels in just one on-screen pixel, leading to loss of clarity.
I understand the reason but I would like to know if there is any way by which
the PowerPoint object library exports methods that allow us to clip the
original big image into 2 smaller images that can be inserted on 2 slides.
 
A

Ata

I understand the reason but I would like to know if there is any way by
which
No, but you could import the same image twice and crop each to get the same effect.

I'll try my luck with that. Thanks so much, Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top