Question Locked

How to undo Set Transparent Color after saving the Presentation?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have been visually comparing two pages of text to verify everything is same except three-characters month abbreviation (at fixed position); in other words, all text except month information is standard.

To do this, I stacked two Full Print Screens. If result is above, then I am confident that two pages are same except for month information. Problem appears when the standard needs to be changed; say Jane is now John.

I need to use this month of Text (which shows John) as standard; to do so, I need to undo the transparent color which is already saved into the Presentation; and delete the out-dated Page (which shows Jane).

How to reset the image for transparent color only? without having to reset other attributes?

6 replies

by sehartalokar edited

your current method of stacking full print screens and relying on transparency only allows for all-or-nothing comparisons. Restoring specific elements like John instead of Jane without affecting other areas requires more sophisticated tools and approaches. Here are some options based on your desired level of automation and technical expertise:

1. Image Editing Software:

Use tools like Photoshop, GIMP, or online editors like Pixlr.
Select the "John" text area in the desired image and copy it.
Open the image with "Jane" and paste the copied "John" text onto the corresponding area.
Use layer masks or blending modes to achieve seamless merging and preserve surrounding elements.
This requires manual selection and editing, but offers precise control.
2. Text Comparison and Replacement Tools:

Consider tools like Diffchecker or AntiDupl.
Upload both images or their text content (extracted using OCR tools).
These tools highlight differences and enable text replacements within their interface.
While helpful for comparing large textual areas, they might not handle visual elements perfectly.
3. Scripting and Programming:

If you're comfortable with coding, create a script to automate the process.
Libraries like OpenCV or Pillow (Python) can manipulate images.
Identify areas using image processing techniques and replace specific text regions.
Requires programming knowledge but offers flexibility and automation.
4. Cloud-based AI Solutions:

Explore services like Amazon Textract or Google Cloud Vision API.
Upload images and leverage their OCR and text manipulation capabilities.
These services offer robust features but might involve costs and potential privacy concerns.

by panes-rubrics edited

I need help to know what value is reset for PowerPoint VBA "Shape.PictureFormat.TransparencyColor" ?
It worked by trial and error but is it proper?
My VBA as follows
Option Explicit
Sub TransparencyColor_Reset()
' 2024-02
' PowerPoint does not provide Reset Transparency Color
' https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-undo-set-transparent-co
lor-after-saving-the/05959655-cfa7-4761-a0e2-b9f55519b3a9
' I have been visually comparing two pages of text to verify everything is same except
three-characters month abbreviation (at fixed position); in other words, all text exce
pt month information is standard.
' To do this, I stacked two Full Print Screens as below:
' 16777215 is White color (Decimal 16777215) - Converting Colors
' -2147483648 TransparencyColor when NOT set for White Color
Dim PP As PowerPoint.Application
Dim Pres As PowerPoint.Presentation
Dim curSlide As Slide
Dim curShape As Shape
On Error Resume Next
Set PP = GetObject(, "PowerPoint.Application")
On Error GoTo 0
Set Pres = PP.ActivePresentation
With Pres
PP.Visible = True
For Each curSlide In .Slides
For Each curShape In curSlide.Shapes
With curShape
With .PictureFormat
.TransparencyColor = 0
End With
End With
Next curShape
Next curSlide
End With
End Sub
' APPENDIX

by panes-rubrics edited

Thanks I will try your solution within the boundary of Enterprise IT policy.

by kees_b edited

https://learn.microsoft.com/en-us/office/vba/api/word.pictureformat.transparencycolor tells how it works. It's set to 0 in your VBA, but the old value isn't saved. So you can't reset it to the old value unless you store it somewhere for later use.

What I would do: make a copy of the presentation before you run this code. Then use the copy when you need the original presentation. That's kind of backup to use when you can't undo a change.

by peterklein336

Undoing the "Set Transparent Color" feature after saving a presentation is not directly possible. Once you save the file, the transparency information is embedded, and there is no built-in undo for this action. However, you can try these options:

Revert to a Previous Version: If you have a backup or an earlier version of the presentation, open it and save without the transparent color changes.

Use Image Editing Software: Open the image with transparent color in an editing program and manually remove transparency or revert to a previous version if available.

Reapply Background: If transparent color was applied to a background, reapply the original background or replace the affected area with the desired background.

Recreate the Image: If all else fails, recreate the affected image or slide without using the transparent color feature. Always keep backups before making significant changes.

by tariqsofia996

To reset the transparent color in an image without affecting other attributes:

1. Select the transparent color area.
2. Adjust the text to the new standard (e.g., change "Jane" to "John").
3. Save or export the modified image.

Refer to your specific image editing software's documentation for detailed steps.

This discussion is closed to new replies.