this is code am using to take a screenshot
[DllImport("gdi32.dll",EntryPoint="DeleteDC")]
public static extern IntPtr DeleteDC(IntPtr hDc);
[DllImport("gdi32.dll",EntryPoint="DeleteObject")]
public static extern IntPtr DeleteObject(IntPtr hDc);
[DllImport("gdi32.dll",EntryPoint="BitBlt")]
public static extern bool BitBlt(IntPtr hdcDe...
Do you know how to convert (save) HTML to an image? Any format is acceptable: jpg, png, ... I tried this code but it does not correctly convert images from HTML (<img> tag).
A solution in Java would be preferred; however, I would appreciation any approach.
...
I have an ASP.Net page that has a button that when clicked I would like to take a screenshot of the user's PC and send it to a server.
I'm ok with writing some sort of listener program to run on the server to accept requests to receive these images. Where I'm a bit hazy is the best way to get the user's PC to send the screenshot. Would ...
I'm trying to get imagegrabscreen (a GD function) to work with my Apache/Vista PC.
I'm using the following code:
<?php
$im = imagegrabscreen();
header('Content-type: image/png');
imagepng($im);
imagedestroy($im);
?>
At the moment I get a solid black image, the size of my secondary monitor (1024*768). I'm using Apache 2.2, runing as ...
There is a program with a long list, from which I would like to take screen shots from. The Problem is, that there are only 14 of about 100 shown. How can I take a screen shot of the entire list?
The one approach that comes to my mind is basically send a PG-Down click to this list, take a new screen shot and merge them together. Are the...
Is it possible to take a screen shot of any given url using .Net code?
What is the easiest way to do it?
...
Hello Everyone,
If I have a handle to a window, how do I take a screenshot of any new child windows when they show up? Right now I have code that takes a screenshot every .1 seconds of a windows form. When I click on a drop down list box the subsequent screenshots do not include it. Using spy++ I can see that a new child window was c...
For full screenshots, I use this code:
form1.Hide;
sleep(500);
bmp := TBitmap.Create;
bmp.Height := Screen.Height;
bmp.Width := Screen.Width;
DCDesk := GetWindowDC(GetDesktopWindow);
BitBlt(bmp.Canvas.Handle, 0, 0, Screen.Width, Screen.Height, DCDesk, 0, 0, SRCCOPY);
form1.Show ;
FileName := 'Screenshot_'+FormatDateTime('mm-dd-yyyy-hhnn...
Hello all,
I would like to know if there is any way to capture a to capture a video (screencast) of my desktop with .NET? I am not looking for a screencast software, but simply a technique that would allow me to generate myself a video of my desktop.
I thought of taking multiple screenshots, but I am not sure of how I could generate pr...
I like the simplicity of the facebook status/notes/news feed CMS.
Obviously short posts and long notes are not hard but I'm running into difficulty trying to come up with a way to mimic their "Attach a Link" feature.
Does anyone know of a way (or a library) to use asp.net to take/build/create a screen capture of a remote site?
I've tr...
I know there is not a direct way to take a screen shot of a web page with PHP. What would be the most straightforward way to accomplish this? Are there any command line tools that could do this that I might be able to execute from a PHP script (I'm thinking something that would run in a 'NIX OS (OS X and/or Linux in particular)?
Edit: ...
I am developing an iPhone app for creating images using built in graphics and user defined text.
I want to be able to have my app, with built in graphics and user defined text, which can then be sent as a single image (much like a screenshot) to the email app to be emailed.
Is there a way to do this without taking a screenshot, leavin...
I need a server-side script (PHP, Python) to capture a webpage to a PNG, JPG, Tiff, GIF image and resize them to a thumbnail.
What is the best way to accomplish this?
See also:
Web Page Screenshots with PHP?
How can I take a screenshot of a website with PHP and GD?
How might I obtain a Snapshot or Thumbnail of a web page usi...
I want to add the ability for the users to capture the current screen in my app and email it. I have a very non-technical user base so I need this to be as simple as possible. I plan to let them click a menu item called Help Me! which will then capture the current Application Screen, hopefully as a jpg or png, and then open Outlook and...
I'm trying to programatically create beautiful thumbnail images of a large number of web pages that are hosted on my own ruby/rails-based website.
I want to be able to code a stand-alone bit of ruby that looks something like this:
require 'awesome-screenshot-maker'
items.each do |id|
url = "http://foo.com/bar/#{id}"
shooter = Awes...
Hi there,
I need to take print-screens of a Windows application very very fast to make a video out of it... I have been using C# all the way, but I'm open to any language in which this process may be faster.
I have used many techniques:
.net functions: Bitmap.CopyFromScreen()
GDI
Direct3d/DirectX
The fastest I've got was using GDI ...
I'm writing a flash app using the open source tools. I would like to load a data file in to the app and capture a screenshot of the stage on the server. The only part that seems mysterious is running the app on the server. In fact, I don't even care if it's the same app running on the server and in the browser--if I can use the flash sta...
We have a C# (WPF) application in which we want to take a screenshot of an arbitrary application launched by us (i.e. so we have a reference to the Process we started).
The application may be minimized or behind other windows but we still only want the image of the individual application, not overlapping pixels.
I know the typical P/In...
Hi,
Is there any way of taking a screenshot of a website in PHP, then saving it to a file?
Thanks
...
I want to be able to create a screen shot of a given Web site, but the Web site may be larger than can be viewed on the screen. Is there a way I can do this?
Goal is to do this with .NET in C# in a WinForms application.
...