screenshot

C#: how to take a screenshot of a portion of screen

like TakeScreenshot(new Rectangle(0,0,100,100), "output.jpg"); ...

Taking screenshot of Android OpenGL

Hello, I'm fighting from some time with taking a screenshot of Android OpenGL. The code I found is as follows: nt size = width * height; ByteBuffer buf = ByteBuffer.allocateDirect(size * 4); buf.order(ByteOrder.nativeOrder()); glContext.glReadPixels(0, 0, width, height, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, buf); int da...

Take Screenshot of Browser via JavaScript

For support reasons I want to be able for a user to take a screenshot of the current browser window as easy as possible and send it over to the server. Any (crazy) ideas? ...

Android: Taking Screenshot of current screen with device

When one wants to publish his App on the Android Market he can upload up to two screenshots of his app. I would like to take these screenshots with my current device (Motorola Droid) that I'm using to test the application. There are some Apps on the Android Market that allow you to take screenshots, but you have to root your phone, whic...

Screen Shot on iPhone

Hi All, I have a bit of code that does what I want and takes a screen shot. Apple have now said that screen shots have to be taken not using UIGetScreenImage(), but UIGraphicsBeginImageContextWithOptions. Could anyone point me in the right direction. Here's a snippet of code that shows how I am doing it at the moment. CGImageRef inImag...

Take screenshots of a UIView including 3 UITableView(visible+invisible) part

Hi, i have a UIView having 3 UITableView and need to take screen shot. But problem is invisible part of the 3 tables . Can anyone help to find a way to take screen shot of the whole view including complete scrolled contents of the tables. ...

iphone screenshot specific area

Hi, I have a View including a Toolbar and a WebView UIVIEW UIToolbar UIWebview Now i like to make a screenshot ONLY from the WebView with: UIGraphicsBeginImageContext(articleWebView.window.bounds.size); [articleWebView.window.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *screenImage = UIGraphics...

Take a screenshot of a window using C# .NET - missing pixel information

I am attempting to take a screenshot of a window using C# .NET by calling Windows API. I came up with the following code: public void ScreenshotWindow(IntPtr windowHandle) { Rect Rect = new Rect(); GetWindowRect(windowHandle, out Rect); int width = Rect.right - Rect.left; int height = Rect.bottom - R...

Taking website screenshot, server-side, on a Linux rented server, free

Ok so, right now I can't really afford to pay for any service. I want to be able to take screenshots using my rented server, which is Linux based, and output them on the screen. I know there are a lot of services that do this, but they usually have limits or watermarks, or you have to wait for your screenshot to be taken from the queue....

OCR engines designed for screen-reading

Are there any OCR engines designed for identifying text in screen-captured images rather than scanned text? I have a project where I need to retrieve and identify text in an application, and none of the OCR engines I've tried so far have faired well with screenshots. Ideally the engine should work well with color and with background noi...

Best way to take screenshots of tests in Selenium 2?

So I need a way to take screenshots of my functional tests. Right now I'm using Selenium 2 with C# bindings. I pretty much want to take a screenshot at the end of the test to make sure the desired page is displayed. Are there any particular tools you guys know of that I can incorporate into my C# code that will trigger a screenshot? I co...

iPhone Screenshots

Hi all, I've been using UIGetScreenImage() to get a screenshot of a UIImagePickerController. Basically I use the camera overlay and then when I take the screenshot, I have the image that the camera preview had been showing and my overlay on there too, which is exactly what I need. Now UIGetScreenImage() has been banned, I've not been a...

Any fast screenshot services available?

I need one that does not have a big queue. So, if it does not have it on its cache, it would generate and deliver it reasonably fast (1-4 seconds). I do have a list of services, what I am asking is if you have experience with any such service that meets the above criteria that you could recommend. Thank you Edit: To clarify my intent,...

Passing a url as a variable into thumbalizr php

I am using the Thumbalizr API for capturing website screenshots. I am trying to pass a url from a variable into the script below where it currently says "www.google.com". When I try and do $url = "www.google.com"; and pass that to $image->request($url); it seems to fail and retrieves a screenshot but one that suggests the url was unrea...

How to make a "screen region selector" to capture a region of the screen in .NET?

I've used this http://www.vbforums.com/showthread.php?t=385497 sample to capture the screen and save it to an image, I'd like to know if someone have a sample for a "selector" for selecting the region of the screen to capture, like camstasia or camstudio have. I dont want to understand how it works, just need a code sample but couldnt f...

Screen capture of a java applet

I'd like to "capture" a screenshot of what a java applet would currently look like if it were loaded, effectively screenshoting an applet without the use of a vdu. The purpose of this is to display the image to a user that doesn't have a JVM. Lets assume the applet is a digital clock and has no requirement on user input. So what could b...

Taking a Screenshot of an iPhone app mixing UIKit and OpenGL

So, I know how to take a screenshot with UIKit: UIWindow *window = [[[UIApplication sharedApplication] delegate] window]; UIGraphicsBeginImageContext(window.bounds.size); [window.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteTo...

C: take screenshot

Hi How can I capture screen and save it as am image in C? OS: windows (XP & Seven) Thanks ...

C/gtk+ take screenshot with cursor

Hello, In my gtk+ application i try to take full screen screenshot. My code: GdkPixbuf* get_screenshot(gpointer user_data) { GError* err; GdkPixbuf *screenshot; GdkWindow *root_window; MainWin* mw = MAIN_WIN(user_data); gint x_orig, y_orig; gint width, height; root_window = gdk_get_default_root_window (); g...

Can't find error in pixel searching algorithm

Ok, I'm trying to make a program that finds the position of a colored pixel within the desktop. To do this I make a screenshot of the desktop then go through the pixels and search for the one that has the matching RGB as i need. The only problem is that my program returs strange coordonates X,Y for the found pixel... #include <stdio.h> ...