Web Yakalama ve Dönüştürme Araçları
web sitesi küçük resmi

GrabzIt ile web sitesi küçük resimleri oluşturun

Genellikle web geliştiricilerinin web sayfalarının önizlemelerini oluşturmaları gerekir. Tıklama oranlarını artırmak ve Facebook ve diğer sosyal medyada paylaşmak için.

Varsayılan olarak GrabzIt'ın API'si ve Çevrimiçi Ekran Görüntüsü Aracı will get website thumbnails by shrinking the website screenshot. Until it fits within the maximum size allowed on the user's package.

To create a thumbnail image to your own specific dimensions. You should ensure that the thumbnail is smaller than the browserWidth and browserHeight parameters. This is 1366px and 1170px respectively by default.

Also important is to keep the ratio of the thumbnail width and height to the browser width and height. This prevents the thumbnail image of the web page screenshot from becoming distorted.

Of course you can take bigger screenshots with GrabzIt, for instance you can capture full page screenshots.

Küçük Hesap Makinesi

px
px
%19
195px
146px

This calculator automatically calculates the best width and height for your thumbnails. Based on what percentage the thumbnail should be of the browser width and height. While also keeping the image proportional to the browser size to stop any stretching of the image.

The calculator above puts any changes made into the code examples below.

Web Sitesi Küçük Resim API'mız nasıl kullanılır?

Intweb sayfası küçük resimlerini alma yeteneğini büyütmek into your application with GrabzIt's Screenshot API. To begin, select one of the nine programming languages below. To view a code example and instructions on how to proceed.

Bu kod örneği, ASP.NET kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için ASP.NET Kütüphanesini indir. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol ASP.NET için API dokümantasyonu GrabzIt API'sini kullanmanın tüm yollarını öğrenmek için.

ImageOptions options = new ImageOptions();
options.BrowserWidth = ;
options.BrowserHeight = ;
options.Width = ;
options.Height = ;

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
grabzIt.URLToImage("https://www.tesla.com", string.Empty, , , , , ImageFormat.jpg, 0, string.Empty, 
BrowserType.StandardBrowser, string.Empty); 
grabzIt.SaveTo("images/result.jpg");

Bu kod örneği, Java kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için Java Kütüphanesini indirin. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol Java için API dokümantasyonu to discover all the ways you can use GrabzIt's API.

ImageOptions options = new ImageOptions();
options.setBrowserWidth();
options.setBrowserHeight();
options.setWidth();
options.setHeight();

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

Bu kod örneği, JavaScript kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için GrabzIt'ın JavaScript Kütüphanesi. Ardından API'nizi alın anahtar ve sır, etki alanı ekle JavaScript’i kullanmak ve ardından JavaScript için API dokümantasyonu to discover all the ways you can use GrabzIt's API.

<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@<%= APIVersion.JavaScript %>/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("https://www.tesla.com", 
{"bwidth":,"bheight":,"width":,"height":}).Create();
</script>

Bu kod örneği, Node.js. kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için Node.js Paketini indir. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol Node.js için API dokümantasyonu to discover all the ways you can use GrabzIt's API.

var grabzit = require('grabzit');

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

var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
client.url_to_image("https://www.tesla.com", options);
client.save_to("images/result.jpg", function (error, id){
    if (error != null){
        throw error;
    }
});

Bu kod örneği, Perl kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için Perl Kütüphanesini indir. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol Perl için API dökümantasyonu to discover all the ways you can use GrabzIt's API.

#!/usr/bin/perl

use GrabzItClient;

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

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

Bu kod örneği, PHP kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için PHP Kütüphanesini indir. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol PHP için API dökümantasyonu to discover all the ways you can use GrabzIt's API.

include("GrabzItClient.php");

$options = new \GrabzIt\GrabzItImageOptions();
$options->setBrowserWidth();
$options->setBrowserHeight();
$options->setWidth();
$options->setHeight();

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

Bu kod örneği, Python kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için Python Kütüphanesini indirin. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol Python için API dökümantasyonu to discover all the ways you can use GrabzIt's API.

from GrabzIt import GrabzItClient
from GrabzIt import GrabzItImageOptions

options = GrabzItImageOptions.GrabzItImageOptions()
options.browserWidth = 
options.browserHeight = 
options.width = 
options.height = 

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

These API calls shows how easy it is to create a website thumbnail using GrabzIt's RESTful API. Check out the RESTful ekran görüntüsü API'sı documentation to discover all the ways you can use GrabzIt.

https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=jpg&bwidth=&bheight=&width=&height=&url=https%3A%2F%2Fwww.tesla.com%2F

Bu kod örneği, Ruby kullanarak bir web sitesi küçük resmi oluşturmanın ne kadar kolay olduğunu gösterir. Küçük resimleri çekmeye başlamak için Ruby Gem'i indir. Ardından API'nizi alın anahtar ve sır ve sonra gösteriyi kullan içinde bulunur. Sonra kontrol Ruby için API dokümantasyonu to discover all the ways you can use GrabzIt's API.

require 'grabzit'

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

grabzItClient = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
grabzItClient.url_to_image("https://www.tesla.com", options)	
grabzItClient.save_to("images/result.jpg")