[vtk-developers] vtkWindowToImageFilter

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Dec 11 15:46:29 EST 2017


That's odd. vtkWindowToImageFilter is indeed not intended to capture
the decorations. Make sure you're capturing from the right buffer
(https://blog.kitware.com/be-careful-what-you-grab/).

Utkarsh

On Mon, Dec 11, 2017 at 2:24 PM, Tim Thirion <tim.thirion at kitware.com> wrote:
> Hi all,
>
> I have a customer that is using vtkWindowToImageFilter [1] to capture
> framebuffer data. However, it seems it's also capturing the decorations of
> the window as well--the title bar, etc., which is not desirable. Is there a
> way to ensure it only captures the GL context? This is a Linux deployment.
>
> TT
>
> https://www.vtk.org/doc/nightly/html/classvtkWindowToImageFilter.html
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>


More information about the vtk-developers mailing list