ওয়েব ক্যাপচার এবং রূপান্তর করার সরঞ্জামসমূহ

কোনও ওয়েব পৃষ্ঠা রূপান্তর করার আগে আপনি কীভাবে তা পরিবর্তন করবেন?

ওয়েব পৃষ্ঠা পরিবর্তন করুন

আপনি কোনও পৃষ্ঠার চিত্র, পিডিএফ বা ডোকএক্স হিসাবে ক্যাপচার করার আগে আপনি এটির HTML পরিবর্তন করতে পারেন।

এটি করার জন্য আপনি যে প্রোগ্রামিং ভাষাটি ব্যবহার করছেন তা থেকে কোনও উপযুক্ত পদ্ধতি ব্যবহার করে এইচটিএমএল পৃষ্ঠাগুলি পড়তে হবে। আপনি এইচটিএমএলটি একবার পরিবর্তন করে নিলে এর উদাহরণ নীচে প্রদর্শিত হবে। তারপরে যে বিষয়বস্তুটি পড়তে ব্যবহৃত হয়েছিল ঠিক তার ঠিকানায় প্যারামিটার সেট করুন। এটি নিশ্চিত করবে যে ওয়েব পৃষ্ঠাটি একই ইউআরএলটি ব্যবহার করে ক্যাপচার করা হয়েছে, যাতে কোনও আপেক্ষিক সংস্থান সঠিকভাবে রেন্ডার করা যায়।

string html = ""; //populate this variable by the HTML from http://www.example.com/index.html
//alter HTML
html += "<style>body{background-color:red !important;}</style>";
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.Address = "http://www.example.com/index.html";
grabzIt.HTMLToImage(html, options);
grabzIt.SaveTo("result.jpg");
String html = ""; //populate this variable by the HTML from http://www.example.com/index.html
//alter HTML
html += "<style>body{background-color:red !important;}</style>";
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setAddress("http://www.example.com/index.html");
grabzIt.HTMLToImage(html, options);
grabzIt.SaveTo("result.jpg");
var grabzit = require('grabzit');

var html = ""; //populate this variable by the HTML from http://www.example.com/index.html
//alter HTML
html += "<style>body{background-color:red !important;}</style>";
var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
client.html_to_image(html,{"address":"http://www.example.com/index.html"});
client.save_to("result.jpg", function (error, id){
    if (error != null){
        throw error;
    }
});
$html = ""; #populate this variable by the HTML from http://www.example.com/index.html			
#alter HTML
html .= "<style>body{background-color:red !important;}</style>";
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = GrabzItImageOptions->new();
$options->address("http://www.example.com/index.html");
$grabzIt->HTMLToImage($html,$options);
$grabzIt->SaveTo("result.jpg");
$html = ""; //populate this variable by the HTML from http://www.example.com/index.html	
//alter HTML
$html .= "<style>body{background-color:red !important;}</style>";
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setAddress("http://www.example.com/index.html");
$grabzIt->HTMLToImage($html, $options);
$grabzIt->SaveTo("result.jpg");
html = "" #populate this variable by the HTML from http://www.example.com/index.html	
#alter HTML
html += "<style>body{background-color:red !important;}</style>"
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.address = "http://www.example.com/index.html"
grabzIt.HTMLToImage(html, options)
grabzIt.SaveTo("result.jpg")
html = "" #populate this variable by the HTML from http://www.example.com/index.html
#alter HTML
html += "<style>body{background-color:red !important;}</style>";
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.address = "http://www.example.com/index.html"
grabzIt.html_to_image(html, options)
grabzIt.save_to("result.jpg")