Consulting

Results 1 to 11 of 11

Thread: Make cartoon character totally black

  1. #1
    VBAX Regular
    Joined
    Sep 2020
    Posts
    40
    Location

    Make cartoon character totally black

    Hi Sir, need some help.
    I am making quiz where people have to guess the cartoon character so I want to make my cartoon character totally black. So I search the web to recolour the picture but find that with powerpoint vba its not possible. Is there any other solution to make picture complete black. For better understanding I share the ppt.
    Attached Files Attached Files

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    331
    Location
    Use a graphics editor (I did it with Paint3D) to create a blackened image. Use PP VBA to set visibility of images on slide.
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    VBAX Regular
    Joined
    Sep 2020
    Posts
    40
    Location
    Thanks sir for your answer.
    But I want to do in PowerPoint only. My idea is: Import same image two times(place on top each other) then make totally black upper layer image(so people will guess) then after 5 seconds upper layer disappear so it will reveal actual image (as a answer).

  4. #4
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    Use Picture correction and set brightness to zero.
    Cheers
    Andy

  5. #5
    VBAX Regular
    Joined
    Sep 2020
    Posts
    40
    Location
    Sir thanks for the suggestion. But I want to do with VBA code.

  6. #6
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    331
    Location
    Your attachment shows one image as full color and then another as black interior so the figure is an outline. If you could manipulate color, then would not need the image twice, just manipulate color for one image. Again, I don't think PP VBA can do this. Create blackout images with Paint3D then use them in PP.
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    VBAX Regular
    Joined
    Sep 2020
    Posts
    40
    Location
    Quote Originally Posted by Andy Pope View Post
    Use Picture correction and set brightness to zero.
    Thanks sir, its working 98% & fulfill my requirements.

  8. #8
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    331
    Location
    Okay, I concede can get an almost totally blacked out image by setting brightness property. I had to set brightness to -100. It's fortunate that there must not be any color in the area surrounding the figure.
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,054
    Location
    @Jhon90. Please edit your profile data
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  10. #10
    VBAX Contributor
    Joined
    Dec 2018
    Location
    South London
    Posts
    115
    Location
    Quote Originally Posted by Jhon90 View Post
    Thanks sir for your answer.
    But I want to do in PowerPoint only. My idea is: Import same image two times(place on top each other) then make totally black upper layer image(so people will guess) then after 5 seconds upper layer disappear so it will reveal actual image (as a answer).
    If it's for a quiz, though not VBA, another way of guessing a cartoon character (etc) would be to click the image and at the top a new tab appears called Picture Format. On that ribbon you'll see to the left Artistic Effects. Maybe there's VBA code to select one of these?

  11. #11
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,054
    Location
    @Jhon90. This is important. Please go to your profile and edit it. Someone has altered your profile data. If I don't receive a response from you within 24 hours I will place your account on a temporary suspension unless it has been cleaned up.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •