GrabzIt
Tools to Capture and Convert the Web
full page screenshot

Create a full page screenshot with GrabzIt

A common requirement when taking a screenshot is to capture a full web page, or put another way create a screenshot that is the same height and width as the web page that is being screenshot. An scaled example of a full page screenshot is shown to the right.

Full page screenshots can be created with the Online Screenshot Tool if you select the full length option. The Online Screenshot Tool can also create screenshots with the exact size of the browser by selecting the Full Width and Full Height options. Alternatively you can integrate full page screenshots into your app by using the API as described below.

Full Page Screenshots with our API

Add the ability to take full page screenshots to your application with GrabzIt's Screenshot API. There are currently eight different programming languages, which are supported by our API. To get started with your desired language just select the appropriate one from the choices below to see example code and instructions. All of the below examples creates an image the same size as the websites height and width.

The following code demonstrates how easy it is to create a full page screenshot using ASP.NET. To start capturing full webpages just download the ASP.NET Library, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for ASP.NET to find out all the ways you can use GrabzIt's API.

ImageOptions options = new ImageOptions();
options.BrowserHeight = -1;
options.Width = -1;
options.Height = -1;

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", 
    "Sign in to view your Application Secret");
grabzIt.URLToImage("http://www.google.com", options); 
grabzIt.SaveTo("images/result.jpg");

The following code demonstrates how easy it is to create a full page screenshot using Java. To start capturing full webpages just download the Java Library, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for Java to find out all the ways you can use GrabzIt's API.

ImageOptions options = new ImageOptions();
options.setBrowserHeight(-1);
options.setWidth(-1);
options.setHeight(-1);

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key",
    "Sign in to view your Application Secret");
grabzIt.URLToImage("http://www.google.com", options); 
grabzIt.SaveTo("images/result.jpg");

The following code demonstrates how easy it is to create a full page screenshot using JavaScript. To start capturing full webpages download GrabzIt's JavaScript Library. Then get your Application Key and Secret, add the domain you want to use the JavaScript on and then check out the screenshot API documentation for JavaScript to find out all the ways you can use GrabzIt's API.

<script src="grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.google.com", 
{"bheight":-1,"width":-1,"height":-1}).Create();
</script>

The following code demonstrates how easy it is to create a full page screenshot using Node.js. To start capturing full webpages just download the Node.js Package, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for Node.js to find out all the ways you can use GrabzIt's API.

var grabzit = require('grabzit');

var options = {"width":-1, "height":-1, "browserHeight":-1};

var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
client.url_to_image("http://www.google.com", options);
client.save_to("images/result.jpg");

The following code demonstrates how easy it is to create a full page screenshot using Perl. To start capturing full webpages just download the Perl Library, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for Perl to find out all the ways you can use GrabzIt's API.

#!/usr/bin/perl

use GrabzItClient;

$options = GrabzItImageOptions->new();
$options->browserHeight(-1);
$options->width(-1);
$options->height(-1);

$grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$grabzIt->URLToImage("http://www.google.com", $options);
$grabzIt->SaveTo("images/result.jpg");

The following code demonstrates how easy it is to create a full page screenshot using PHP. To start capturing full webpages just download the PHP Library, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for PHP to find out all the ways you can use GrabzIt's API.

include("GrabzItClient.class.php");

$grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");

$options = new GrabzItImageOptions();
$options->setWidth(-1);
$options->setHeight(-1);
$options->setBrowserHeight(-1);

$grabzIt->URLToImage("http://www.google.com", $options); 
$grabzIt->SaveTo("images/result.jpg");

The following code demonstrates how easy it is to create a full page screenshot using Python. To start capturing full webpages just download the Python Library, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for Python to find out all the ways you can use GrabzIt's API.

import GrabzItClient

options = GrabzItImageOptions.GrabzItImageOptions()
options.width = -1
options.height = -1
options.browserHeight = -1

grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key",
    "Sign in to view your Application Secret")
grabzIt.URLToImage("http://www.google.com", options) 
grabzIt.SaveTo("images/result.jpg") 

The following code demonstrates how easy it is to create a full page screenshot using Ruby. To start capturing full webpages just download the Ruby Gem, get your Application Key and Secret and then use the demo contained within. Then check out the screenshot API documentation for Ruby to find out all the ways you can use GrabzIt's API.

require 'grabzit'

options = GrabzIt::ImageOptions.new()
options.browserHeight(-1)
options.width(-1)
options.height(-1)

grabzItClient = GrabzIt::Client.new("Sign in to view your Application Key", 
    "Sign in to view your Application Secret")
grabzItClient.url_to_image("http://www.google.com", options)	
grabzItClient.save_to("images/result.jpg") 	
Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Screenshots
  • Bigger Everything
Start Free Trial