Old 02-02-2019, 05:59 AM   #1
drew
Mobile
 
drew's Avatar
 
Join Date: Jan 2006
Location: London & São Paulo. Hardcore commercial REAPERite
Posts: 1,641
Default Image capture of a plugin UI

Hi All - Tried to search for this one, but drew a blank.

I am looking for a way to grab a screenshot of FX UI (could be visible or ideally not have to be) to be able to mirror it elsewhere by exporting as JPG/PNG at regular intervals.

Since REAPER draws this (and I'm not sure if SWELL/WDL come into this part) I'm wondering if there's any way within REAPER to do this, or if it's just about resorting to win32gui & equivalents for other platforms in Python.

Anyone managed to do similar?

Many Thanks,

Drew
__________________
Proudly using REAPER exclusively for professional music production at Qsonics.com and recording broadcast and narrative voiceovers at DrewWhite.com.
drew is offline   Reply With Quote
Old 02-02-2019, 06:11 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,559
Default

It's a win32 API job.

The plugin window needs to be visible to have a chance for the image capture to succeed. (Reaper completely closes/destroys the plugin GUIs when they are not visible, so there's nothing that could be captured.)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   Reply With Quote
Old 02-02-2019, 06:53 AM   #3
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,351
Default

Somebody made a little program to do that once. Can't remember who, when or what it was called but it was probably in the developers forum.

edit: Sorry, didn't see the "regular intervals" part. The tool I remember just loaded the VST dll and output the GUI to an image file. I'm guessing you're wanting to screenshot plugins in actual use, which that thing won't do.
IXix is offline   Reply With Quote
Old 02-02-2019, 07:03 AM   #4
pytchblend
Human being with feelings
 
Join Date: Jul 2012
Posts: 7
Default

Check out Christian Budde's VST-Plugin Screenshot Tool: http://www.pcjv.de/applications/tools/

Also see this discussion: https://www.kvraudio.com/forum/viewt...fefad4222ae547
pytchblend is offline   Reply With Quote
Old 02-02-2019, 07:16 AM   #5
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,559
Default

Quote:
Originally Posted by pytchblend View Post
Check out Christian Budde's VST-Plugin Screenshot Tool:
10 years old, works only with 32 bit plugins. (It also doesn't solve the original poster's problem of continuously making captures of the plugin's GUI while it's loaded in the host.)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   Reply With Quote
Old 02-02-2019, 07:28 AM   #6
drew
Mobile
 
drew's Avatar
 
Join Date: Jan 2006
Location: London & São Paulo. Hardcore commercial REAPERite
Posts: 1,641
Default

Thanks all for the input. I hadn't realised it only existed while visible. I guess standard window image capture routines may be the way forward, then.

There are a few things I need to test, like whether a floating FX window can be placed outside of screen X/Y range so it's still being drawn.

Quote:
Originally Posted by IXix View Post
Somebody made a little program to do that once. Can't remember who, when or what it was called but it was probably in the developers forum.

edit: Sorry, didn't see the "regular intervals" part. The tool I remember just loaded the VST dll and output the GUI to an image file. I'm guessing you're wanting to screenshot plugins in actual use, which that thing won't do.
Hi IXix - that's quite interesting too, though. Was it the Christian Budde one, do you think?
__________________
Proudly using REAPER exclusively for professional music production at Qsonics.com and recording broadcast and narrative voiceovers at DrewWhite.com.
drew is offline   Reply With Quote
Old 02-03-2019, 12:57 PM   #7
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,351
Default

Quote:
Originally Posted by drew View Post
Hi IXix - that's quite interesting too, though. Was it the Christian Budde one, do you think?
I think it might have been, sorry.
IXix is offline   Reply With Quote
Old 02-04-2019, 08:42 AM   #8
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 492
Default

Even without the intervals... capturing a plugin window (like in Studio One) could be useful. Hopefully, one day Reaper will be able to do it. But that's prolly a feature to add to a long list of requests. lol.
Ozman is offline   Reply With Quote
Old 02-04-2019, 08:44 AM   #9
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 23,345
Default

If one literally just wants to capture a plugin window, give it focus then ALT+PrtScn which will place a screensnot on the clipboard.
karbomusic is online now   Reply With Quote
Old 02-06-2019, 12:05 PM   #10
drew
Mobile
 
drew's Avatar
 
Join Date: Jan 2006
Location: London & São Paulo. Hardcore commercial REAPERite
Posts: 1,641
Default

Quote:
Originally Posted by karbomusic View Post
If one literally just wants to capture a plugin window, give it focus then ALT+PrtScn which will place a screensnot on the clipboard.
Hi and thanks for the suggestion, but essentially this is a scripting question and about finding ways to achieve such results in code.

There are ways to trigger screenshots of the type you suggest, but altering the clipboard or changing focus would get in the way of normal REAPER use. I'll keep searching!

Cheers,

Drew
__________________
Proudly using REAPER exclusively for professional music production at Qsonics.com and recording broadcast and narrative voiceovers at DrewWhite.com.
drew is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.