J
JustNatalie
I cannot get the resolution using code for gif that I can get when I use the
menu options: file, save as, .gif Then image attributes and resolution are
saved in the gif file just as they appear in publisher. Perfect! I am using
the images in Dreamweaver, and they work well with the program (I am saving
imported html images originated in Excel).
However, when I write code (I am not particularly advanced; I know), my
resulting gif does not have the clarity as when I save through the menu
options method. No matter what the dpi I choose, it looks bad simply when
opened in a web browser or used by another program, Dreamweaver in this case.
My code is below. If anyone can help, I would appreciate it.
Thanks, in advance everyone, Natalie:
Public Sub SaveAsPicture_Example()
Dim pubShapeRange As Publisher.ShapeRange
Set pubShapeRange = ThisDocument.Pages(1).Shapes.Range
pubShapeRange.SaveAsPicture "s:\cab\img\zzgifpub.gif",
pbPictureResolutionWeb_96dpi
End Sub
menu options: file, save as, .gif Then image attributes and resolution are
saved in the gif file just as they appear in publisher. Perfect! I am using
the images in Dreamweaver, and they work well with the program (I am saving
imported html images originated in Excel).
However, when I write code (I am not particularly advanced; I know), my
resulting gif does not have the clarity as when I save through the menu
options method. No matter what the dpi I choose, it looks bad simply when
opened in a web browser or used by another program, Dreamweaver in this case.
My code is below. If anyone can help, I would appreciate it.
Thanks, in advance everyone, Natalie:
Public Sub SaveAsPicture_Example()
Dim pubShapeRange As Publisher.ShapeRange
Set pubShapeRange = ThisDocument.Pages(1).Shapes.Range
pubShapeRange.SaveAsPicture "s:\cab\img\zzgifpub.gif",
pbPictureResolutionWeb_96dpi
End Sub