PowerPoint file size increases after saving

T

Team

We have a presentation of 1.8 MB. When we open the presentation in PowerPoint
2007 and resave the presentation as .PPT then the file size becomes 53 MB. We
researched on this presentation and following are our observation:

We noticed that the images on the slides are inserted using the shape
property of PowerPoint 2007. That is, the images might have inserted in the
following way.
1. Insert shape on the slide
2. Right click on the shape and choose -> Format Shapes-> Fill Tab ->
Picture or Texture fill -> Check off 'Tile Picture as texture'->Insert an
image.
3. Format Picture -> Fill -> stretch Options -> give negative value for any
of the Offsets (Left, Right, Top, Bottom)
4.Save the presentation as .ppt
Result: The presentation size becomes 53 MB

5. We opened the same presentation in PowerPoint 2007 once again
6. Format Picture -> Fill -> stretch Options: changed the negative offset
values to 0 % (for all slides)
7. Save the presentation as .ppt
Result: Now the presentation size is 1.76 MB only

As a conclusion we think the problem - the size of the file becomes larger
after saving as .PPT from PowerPoint 2007 is due to giving negative values
for Format Picture -> Fill -> stretch Options -> Offsets.

Is there any way to set 0% offset value for stretch options programmatically?
 
T

Team

Thanks for your response.

As per our observation, it does not depend the size of the images inserted.
We checked the presentation again and we found that the presentation might be
created using the following steps:
1. Create a presentation in PowerPoint 2003.
2. Insert a Shape (eg. draw a rectangle shape on the slide)
3. Select the shape -> Right Click -> Format AutoShape -> Colors and Lines
-> Fill: Fill Effects -> Picture -> Select Picture: Select an image from
folder and click the insert button (eg. insert the image 'Water Lillies' of
size 81.8 kb). After clicking the insert button, check on the option "Lock
Picture Aspect Ratio".
4. Save the presentaion. (Now the size of the presentation is 118 kb).
5. Open the saved presentation in PowerPoint 2007 and resave. Microsoft
Office Compatibility Checker message is shown. Click [Continue] button
Results: The size of the presentation increases (now the presentation size
is 1.12MB).

If the option "Lock picture Aspect Ratio" is unchecked then this problem
(file size increase) does not occur. So we need to uncheck this option
programmatically using PowerPoint object model.

Is there any way to check the "Lock Picture Aspect Ratio" programmatically
by using the PowerPoint object model?
 
T

Team

The problem occurs when we resave the presentation as .PPT from PowerPoint
2007. Please do the following steps to reproduce the case.

1. Create a presentation in PowerPoint 2003.
2. Insert a Shape (eg. draw a rectangle shape on the slide)
3. Select the shape -> Right Click -> Format AutoShape -> Colors and Lines
-> Fill: Fill Effects -> Picture -> Select Picture: Select an image from
folder and click the insert button (eg. insert the image 'Water Lillies' of
size 81.8 kb).
After clicking the insert button, check on the option "Lock Picture Aspect
Ratio".
4. Save the presentaion. (Now the size of the presentation is 118 kb).
5. Open the saved presentation in PowerPoint 2007 and SAVE AS .PPT.
Microsoft Office Compatibility Checker message is shown. Click [Continue]
button

Results: The size of the presentation increases (now the presentation size
is 1.12MB).


Steve Rindsberg said:
Thanks for your response.

No problem ... I'm trying to get a handle on this so if it's reproducible we can
report it to MS.

You're not gonna like this though ... after following your instructions below, I get
the following result:

- No compatibility warning when I save from 2007 as PPTX
- And after saving, the PPTX is 131kb vs 119kb for the PPT. No major size bump.

This is with the Water Lilies image, btw, so we know we're using the same size
image.

I'm using 2007 SP1 at this end.
As per our observation, it does not depend the size of the images inserted.
We checked the presentation again and we found that the presentation might be
created using the following steps:
1. Create a presentation in PowerPoint 2003.
2. Insert a Shape (eg. draw a rectangle shape on the slide)
3. Select the shape -> Right Click -> Format AutoShape -> Colors and Lines
-> Fill: Fill Effects -> Picture -> Select Picture: Select an image from
folder and click the insert button (eg. insert the image 'Water Lillies' of
size 81.8 kb). After clicking the insert button, check on the option "Lock
Picture Aspect Ratio".
4. Save the presentaion. (Now the size of the presentation is 118 kb).
5. Open the saved presentation in PowerPoint 2007 and resave. Microsoft
Office Compatibility Checker message is shown. Click [Continue] button
Results: The size of the presentation increases (now the presentation size
is 1.12MB).

If the option "Lock picture Aspect Ratio" is unchecked then this problem
(file size increase) does not occur. So we need to uncheck this option
programmatically using PowerPoint object model.

Is there any way to check the "Lock Picture Aspect Ratio" programmatically
by using the PowerPoint object model?

Steve Rindsberg said:
I can't exactly repro this, but it may have to do with the size of the picture
you're using for a fill.

How large an image is it (in pixels and file size)?

I used a rather small image and ended up with a 98kb PPTX and a 980kb PPT file.

It seems you can use the shape's .Fill.TextureOffsetX and .TextureOffsetY
properties to change these, but that seems to lift the lid and let other bugs
out.


We have a presentation of 1.8 MB. When we open the presentation in PowerPoint
2007 and resave the presentation as .PPT then the file size becomes 53 MB. We
researched on this presentation and following are our observation:

We noticed that the images on the slides are inserted using the shape
property of PowerPoint 2007. That is, the images might have inserted in the
following way.
1. Insert shape on the slide
2. Right click on the shape and choose -> Format Shapes-> Fill Tab ->
Picture or Texture fill -> Check off 'Tile Picture as texture'->Insert an
image.
3. Format Picture -> Fill -> stretch Options -> give negative value for any
of the Offsets (Left, Right, Top, Bottom)
4.Save the presentation as .ppt
Result: The presentation size becomes 53 MB

5. We opened the same presentation in PowerPoint 2007 once again
6. Format Picture -> Fill -> stretch Options: changed the negative offset
values to 0 % (for all slides)
7. Save the presentation as .ppt
Result: Now the presentation size is 1.76 MB only

As a conclusion we think the problem - the size of the file becomes larger
after saving as .PPT from PowerPoint 2007 is due to giving negative values
for Format Picture -> Fill -> stretch Options -> Offsets.

Is there any way to set 0% offset value for stretch options programmatically?


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

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

Team

OK. Please let us know if they find a solution for that.

Steve Rindsberg said:
OK ... good. I don't know where I messed up before in following your instrux, but this
time it worked as you described. Only mine was > 3 mb!

I'm guessing it may have to do with the size of the rectangle filled with the picture;
will test this in a bit.

In any case, I've passed a bug report along to a contact I have at MS and they've
reproduced the issue there.

Thanks for your patience!

The problem occurs when we resave the presentation as .PPT from PowerPoint
2007. Please do the following steps to reproduce the case.

1. Create a presentation in PowerPoint 2003.
2. Insert a Shape (eg. draw a rectangle shape on the slide)
3. Select the shape -> Right Click -> Format AutoShape -> Colors and Lines
-> Fill: Fill Effects -> Picture -> Select Picture: Select an image from
folder and click the insert button (eg. insert the image 'Water Lillies' of
size 81.8 kb).
After clicking the insert button, check on the option "Lock Picture Aspect
Ratio".
4. Save the presentaion. (Now the size of the presentation is 118 kb).
5. Open the saved presentation in PowerPoint 2007 and SAVE AS .PPT.
Microsoft Office Compatibility Checker message is shown. Click [Continue]
button

Results: The size of the presentation increases (now the presentation size
is 1.12MB).

Steve Rindsberg said:
Thanks for your response.

No problem ... I'm trying to get a handle on this so if it's reproducible we can
report it to MS.

You're not gonna like this though ... after following your instructions below, I get
the following result:

- No compatibility warning when I save from 2007 as PPTX
- And after saving, the PPTX is 131kb vs 119kb for the PPT. No major size bump.

This is with the Water Lilies image, btw, so we know we're using the same size
image.

I'm using 2007 SP1 at this end.


As per our observation, it does not depend the size of the images inserted.
We checked the presentation again and we found that the presentation might be
created using the following steps:
1. Create a presentation in PowerPoint 2003.
2. Insert a Shape (eg. draw a rectangle shape on the slide)
3. Select the shape -> Right Click -> Format AutoShape -> Colors and Lines
-> Fill: Fill Effects -> Picture -> Select Picture: Select an image from
folder and click the insert button (eg. insert the image 'Water Lillies' of
size 81.8 kb). After clicking the insert button, check on the option "Lock
Picture Aspect Ratio".
4. Save the presentaion. (Now the size of the presentation is 118 kb).
5. Open the saved presentation in PowerPoint 2007 and resave. Microsoft
Office Compatibility Checker message is shown. Click [Continue] button
Results: The size of the presentation increases (now the presentation size
is 1.12MB).

If the option "Lock picture Aspect Ratio" is unchecked then this problem
(file size increase) does not occur. So we need to uncheck this option
programmatically using PowerPoint object model.

Is there any way to check the "Lock Picture Aspect Ratio" programmatically
by using the PowerPoint object model?

:

I can't exactly repro this, but it may have to do with the size of the picture
you're using for a fill.

How large an image is it (in pixels and file size)?

I used a rather small image and ended up with a 98kb PPTX and a 980kb PPT file.

It seems you can use the shape's .Fill.TextureOffsetX and .TextureOffsetY
properties to change these, but that seems to lift the lid and let other bugs
out.


We have a presentation of 1.8 MB. When we open the presentation in PowerPoint
2007 and resave the presentation as .PPT then the file size becomes 53 MB. We
researched on this presentation and following are our observation:

We noticed that the images on the slides are inserted using the shape
property of PowerPoint 2007. That is, the images might have inserted in the
following way.
1. Insert shape on the slide
2. Right click on the shape and choose -> Format Shapes-> Fill Tab ->
Picture or Texture fill -> Check off 'Tile Picture as texture'->Insert an
image.
3. Format Picture -> Fill -> stretch Options -> give negative value for any
of the Offsets (Left, Right, Top, Bottom)
4.Save the presentation as .ppt
Result: The presentation size becomes 53 MB

5. We opened the same presentation in PowerPoint 2007 once again
6. Format Picture -> Fill -> stretch Options: changed the negative offset
values to 0 % (for all slides)
7. Save the presentation as .ppt
Result: Now the presentation size is 1.76 MB only

As a conclusion we think the problem - the size of the file becomes larger
after saving as .PPT from PowerPoint 2007 is due to giving negative values
for Format Picture -> Fill -> stretch Options -> Offsets.

Is there any way to set 0% offset value for stretch options programmatically?


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





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

-----------------------------------------
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