If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
Does the PPTools Optimizer compress a transparent png picture and
still leave a transparent back? I see it do a transparent gif, but it fills the back of a png. Am I doing anything wrong or is it not made to deal with png's like that? Thanks, Mel |
#2
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
On Feb 12, 11:34*am, Steve Rindsberg wrote:
In article c931399d-da3f-4c2b-9745- It uses PPT to export the image prior to compression and unfortunately, PPT doesn't preserve the transparency in this situation. Trying to do something similar but on a smaller scale to the Optimizer, I found I could get PPT to retain a transparent PNG or GIF in 2003 but not in 2007. I wrote a routine that ends up exporting the slide (with a transparent png or gif on it) but it sets the slide master background to transparent before exporting it. It then exports as a png, not jpg of course. The code successfully retains the transparent back of the png or gif graphic. But I can't get it to work in 2007. It renders it with a solid background. I want to explore this further but want to know first if you have any thoughts why it works in one but not the other? Thanks, -Mel |
#3
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
On Feb 13, 2:32*pm, Steve Rindsberg wrote:
In article 6e13cf32-b061-458b-8ff4- Cool trick, Mel. *Thanks for sharing. Which version of 2007 do you have? *Image export is unreliable in SP1. In v2007, I'm using SP2, more specifically... (12.0.6504.5000) SP2 MSO (12.0.6425.1000) Office Ultimate 2007 I plan to step through the code and inspect the temporary ppt file used to export and see how it's acting different than 2003. Is there different or extra code available to change backgrounds to transparent in 2007? I'm using... Dim oExpPrez As Presentation Set oExpPrez = Presentations.Add(msoFalse) With oExpPrez.Add(msoFalse).SlideMaster.Background .Fill.Visible = msoFalse .Fill.ForeColor.RGB = RGB(0, 0, 0) .Fill.Transparency = 1 .Fill.Solid End With From there it adds a blank slide and then so on, and it worked in 2003 and not in 2007. I tried applying the transparency to the added slide itself and it didn't work. I realize masters are different in 2007, does the code have to be edited to reflect that? Thanks, Mel |
#4
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
On Feb 14, 2:05*pm, Steve Rindsberg wrote:
In article 7b2eea58-ae72-4e46-b122- Seems that you may've found a bug. Oh, no. That reminds me of the old doctor joke where he tells the patient, "I've got good news and bad news. The good news is they're gonna' name a disease after you..." g Is there anything I can do to help validate this is a bug? It's hard to face my boss with that because, as you know, too many people cry "bug" when they can't get something to work. g Did I ready you right... did you already try changing each layout master? I tried changing the background of the slide itself and the master. Does Shyam or others have any ideas or workarounds? When can I tell my boss this is an official bug? g Thanks, Melina |
#5
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
On Feb 14, 2:05*pm, Steve Rindsberg wrote:
Seems that you may've found a bug. Does anyone with 2010 beta know if this is still a bug in it? Thanks, Melina |
#6
|
|||
|
|||
PPTools Optimizer and Transparent PNGs?
On Feb 17, 12:42*am, Steve Rindsberg wrote:
Seems that you may've found a bug. Can you write up the steps to repro the problem and post them back here? And a link to a sample PNG would be useful too. I'll pass it along to someone at MS. *It might take a week or so before I get some tuits though. I'll write something up and get it to you. -Melina |
Thread Tools | |
Display Modes | |
|
|