Export, Save as Picture size difference

T

Team

When I save a shape as png from PowerPoint 2007 using the 'Export' method, I
didn’t get it in actual shape size.
The Export method and the 'Save as Picture...' command of the shape's
context menu generate images of the same shape in different sizes.
I need the image size to be same as that is generated using the 'Save as
Picture...' command from the context menu of the shape.
How can I do this in PowerPoint 2007 using the export method?
 
S

Steve Rindsberg

When I save a shape as png from PowerPoint 2007 using the 'Export' method, I
didn’t get it in actual shape size.
The Export method and the 'Save as Picture...' command of the shape's
context menu generate images of the same shape in different sizes.
I need the image size to be same as that is generated using the 'Save as
Picture...' command from the context menu of the shape.
How can I do this in PowerPoint 2007 using the export method?

Work out the default dpi used for the Save As Picture command. Here it seems
to be 150dpi.

That times the size of the shape in inches ( Shape.Height/72 etc) plus
(apparently) 2 pixels, one on each side, for padding should do it.

The .Export method takes height and width params that let you specify the
export resolution. Supply the values you worked out for Save As Picture and
you should be good to go.
 
T

Team

Thank you.

Steve Rindsberg said:
Work out the default dpi used for the Save As Picture command. Here it seems
to be 150dpi.

That times the size of the shape in inches ( Shape.Height/72 etc) plus
(apparently) 2 pixels, one on each side, for padding should do it.

The .Export method takes height and width params that let you specify the
export resolution. Supply the values you worked out for Save As Picture and
you should be good to go.

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
 

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