# Blank image from Component::createComponentSnapshot() with VideoComponent

**URL:** <https://forum.juce.com/t/blank-image-from-component-createcomponentsnapshot-with-videocomponent/54908>\
**Category:** General JUCE discussion\
**Created:** [February 7, 2023, 4:32pm UTC](https://forum.juce.com/t/blank-image-from-component-createcomponentsnapshot-with-videocomponent/54908 "2023-02-07T16:32:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [February 7, 2023, 4:32pm UTC](https://forum.juce.com/t/blank-image-from-component-createcomponentsnapshot-with-videocomponent/54908/1 "2023-02-07T16:32:38Z")

</div>

I’m trying to grab some frames from a Quicktime movie that I loaded into a VideoComponent.

```
VideoComponent vc;

vc.load(File("myMovie.mov");
vc.setPlayPosition(16.25);
auto img = vc.createComponentSnapshot(Rectangle<int>(0, 0, vc.getWidth(), vc.getHeight()));

```

All get is a black image. I can see the video in my window. It plays properly. I tried grabbing the image when a button was clicked, both running and paused, always black.

Any ideas?

---

<div class="post-metadata">

**Author:** ![cpr2323](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/cpr2323/32/18682_2.png) [@cpr2323](https://forum.juce.com/u/cpr2323)\
**Post date:** [February 7, 2023, 4:38pm UTC](https://forum.juce.com/t/blank-image-from-component-createcomponentsnapshot-with-videocomponent/54908/2 "2023-02-07T16:38:05Z")

</div>

Maybe the VideoComponent hosts an external window (like the WebComponent?) so you may not have access to it’s actual content.
