views:

132

answers:

4

I need to develop a multiplatform software that takes screenshots from opengl games without affecting the game in performance, it will run in the background and will add a watermark to my screenshots.

What language should i use? I thought of Perl / Python. Anyone can point me out something to start?

Thanks!

A: 

The language you know best that has some sort of OpenGL Bindings.

My personal preference for such kind of applications is C, C++ or (if available) C# but it's a simple matter of preference.

dbemerlin
+1  A: 

I would suggest C++. That way you can use OpenGL and DirectX libraries and API calls natively. Libraries that provide such functionality to other languages typically abstract the good stuff away from reach.

Konrad
I was thinking of Java using JOGL : com.sun.opengl.util.Screenshot.
mandril
I've no experience with Java so I can't help you there, although that method will probably dump the screenbuffer of the current application render target, not an arbitrary one.
Konrad
A: 

Do you need to add a watermark right when you take the screenshot? It would be a lot easier to simply add the watermark later to the static image, as many applications can do this (e.g. Photoshop).

Ether
the watermak is going to be added after being saved and has to be done from programming code.
mandril
A: 

Have you thought about modifying Shutter for your purpose? It is written in Perl.

Alexandr Ciornii