kraken.io - resizing and cropping









Search Preview

Image Resizing · Kraken.io

kraken.io
Optimize your images with blazing speed using powerful API and online web interface
.io > kraken.io

SEO audit: Content analysis

Language Error! No language localisation is found.
Title Image Resizing · Kraken.io
Text / HTML ratio 56 %
Frame Excellent! The website does not use iFrame solutions.
Flash Excellent! The website does not have any flash contents.
Keywords cloud = => resize strategy width height data true image crop var URL wait Image params url enhance err Optimized message
Keywords consistency
Keyword Content Title Description Headings
= 51
=> 28
resize 28
strategy 24
width 23
height 23
Headings
H1 H2 H3 H4 H5 H6
0 1 3 4 0 0
Images We found 0 images on this web page.

SEO Keywords (Single)

Keyword Occurrence Density
= 51 2.55 %
=> 28 1.40 %
resize 28 1.40 %
strategy 24 1.20 %
width 23 1.15 %
height 23 1.15 %
data 22 1.10 %
true 22 1.10 %
image 21 1.05 %
crop 17 0.85 %
var 12 0.60 %
URL 11 0.55 %
wait 10 0.50 %
Image 10 0.50 %
params 10 0.50 %
url 10 0.50 %
enhance 9 0.45 %
err 8 0.40 %
Optimized 8 0.40 %
message 8 0.40 %

SEO Keywords (Two Word)

Keyword Occurrence Density
75 strategy 15 0.75 %
100 height 14 0.70 %
width 100 13 0.65 %
height 75 13 0.65 %
resize width 11 0.55 %
params = 8 0.40 %
image URL 8 0.40 %
Optimized image 8 0.40 %
err = 8 0.40 %
enhance true 7 0.35 %
data = 7 0.35 %
true resize 7 0.35 %
=> true 6 0.30 %
the image 6 0.30 %
= new 6 0.30 %
kraken = 6 0.30 %
strategy crop 6 0.30 %
Error message 6 0.30 %
will be 6 0.30 %
wait true 6 0.30 %

SEO Keywords (Three Word)

Keyword Occurrence Density Possible Spam
height 75 strategy 13 0.65 % No
width 100 height 12 0.60 % No
100 height 75 12 0.60 % No
resize width 100 11 0.55 % No
Optimized image URL 8 0.40 % No
75 strategy crop 5 0.25 % No
api_key yourapikey api_secret 4 0.20 % No
yourapikey api_secret yourapisecret 4 0.20 % No
= nil logFatalerr 4 0.20 % No
kraken = new 4 0.20 % No
err = nil 4 0.20 % No
75 strategy auto 4 0.20 % No
image URL data 4 0.20 % No
if err = 4 0.20 % No
true resize => 4 0.20 % No
wait => true 4 0.20 % No
=> true resize 4 0.20 % No
width and height 3 0.15 % No
would like to 3 0.15 % No
you would like 3 0.15 % No

SEO Keywords (Four Word)

Keyword Occurrence Density Possible Spam
width 100 height 75 12 0.60 % No
100 height 75 strategy 12 0.60 % No
resize width 100 height 10 0.50 % No
height 75 strategy crop 5 0.25 % No
=> true resize => 4 0.20 % No
err = nil logFatalerr 4 0.20 % No
if err = nil 4 0.20 % No
api_key yourapikey api_secret yourapisecret 4 0.20 % No
Optimized image URL data 4 0.20 % No
height 75 strategy auto 4 0.20 % No
wait => true resize 4 0.20 % No
true resize width 100 3 0.15 % No
75 strategy auto enhance 3 0.15 % No
strategy auto enhance true 3 0.15 % No
url httpawesomewebsitecomimagesheaderpng wait true 3 0.15 % No
wait true resize width 3 0.15 % No
httpawesomewebsitecomimagesheaderpng wait true resize 3 0.15 % No
you would like to 3 0.15 % No
statuskraked_url else consolelogFail Error 2 0.10 % No
=> 'yourapikey' api_secret => 2 0.10 % No

Internal links in - kraken.io

Web Interface
Free Online Image Optimizer · Kraken.io
Features
Kraken PRO · Kraken.io
Plugins
Image Optimization for WordPress and Magento · Kraken.io
API Docs
Getting Started · Kraken.io
 Pricing & SignupGet Started FREE
Plans and Pricing · Kraken.io
About Kraken
About Kraken.io · Kraken.io
Features
Kraken PRO · Kraken.io
Get Started Free
Sign up for Kraken.io · Kraken.io
our powerful servers
Technology Overview · Kraken.io
S3
Amazon S3 · Kraken.io
Azure
Micorsoft Azure Blob Storage · Kraken.io
Cloud Files
Rackspace CloudFiles · Kraken.io
SoftLayer
SoftLayer Object Storage · Kraken.io
resizing and cropping
Image Resizing · Kraken.io
Media Kit
Media Kit · Kraken.io
Contact Us
Contact · Kraken.io
API Documentation
Getting Started · Kraken.io
Impressum
Impressum · Kraken.io
Terms of Service
Terms of Service · Kraken.io
Privacy Policy
Privacy Policy · Kraken.io

Kraken.io Spined HTML


Image Resizing · Kraken.ioWeb InterfaceFeaturesPluginsAPI DocsSupportMy Account Pricing & SignupGet Started FREELog InSign UpAbout KrakenWeb InterfacePluginsFeaturesAPI DocsSupportKraken BlogAPI Reference and Developer DocumentationHide Table of ContentsShow Table of ContentsThe BasicsGetting StartedIntegration LibrariesUpload and Image URLWait and Callback URLImage ResizingGenerating Image SetsLossy OptimizationLossless OptimizationAPI SandboxHTTP Status CodesAdditional FeaturesPreserving MetadataAutomatic Image OrientationChroma SubsamplingCustom Image QualityImage Type ConversionWebP CompressionUser StatusExternal StorageAmazon S3Rackspace Cloud FilesMicrosoft AzureSoftLayer Object StorageIntegration ExamplesDirect UploadImage URLImage ResizingKraken.io Image Resizing API is unconfined for creating thumbnails or preview images for your applications. Kraken.io will first resize the given image and then optimize it using our tried-and-tested optimization pipeline. The resize option needs a few parameters to be passed, such as the desired width and/or height, as well as a mandatory strategy property.Images resized using the portrait, landscape or wheels strategies will never be enlarged if the supplied width or height parameters are greater than the dimensions of the input image.{ "auth": { "api_key": "your-api-key", "api_secret": "your-api-secret" }, "url": "http://awesome-website.com/images/header.png", "wait": true, "resize": { "width": 100, "height": 75, "strategy": "crop" } }<?php require_once("Kraken.php"); $kraken = new Kraken("your-api-key", "your-api-secret"); $params = array( "url" => "http://awesome-website.com/images/header.png", "wait" => true, "resize" => array( "width" => 100, "height" => 75, "strategy" => "crop" ) ); $data = $kraken->url($params); if ($data["success"]) { reverberate "Success. Optimized image URL: " . $data["kraked_url"]; } else { reverberate "Fail. Error message: " . $data["message"]; }var Kraken = require("kraken"); var kraken = new Kraken({ "api_key": "your-api-key", "api_secret": "your-api-secret" }); var params = { url: "http://awesome-website.com/images/header.png", wait: true, resize: { width: 100, height: 75, strategy: "crop" } }; kraken.url(params, function(status) { if (status.success) { console.log("Success. Optimized image URL: %s", status.kraked_url); } else { console.log("Fail. Error message: %s", status.message); } });require 'rubygems' require 'kraken-io' kraken = Kraken::API.new( :api_key => 'your-api-key', :api_secret => 'your-api-secret' ) params = { :wait => true, :resize => { 'width' => 100, 'height' => 75, 'strategy' => 'crop' } } data = kraken.url('http://awesome-website.com/images/header.png', params) if data.success puts 'Success! Optimized image URL: ' + data.kraked_url else puts 'Fail. Error message: ' + data.message endpackage main import ( "log" "github.com/kraken-io/kraken-go" ) func main() { kr, err := kraken.New("your-api-key", "your-api-secret") if err != nil { log.Fatal(err) } params := map[string]interface {} { "wait": true, "url": "http://awesome-website.com/images/header.png", "resize": map[string]interface {} { "width": 100, "height": 75, "strategy": "crop" } } data, err := kr.URL(params) if err != nil { log.Fatal(err) } if data["success"] != true { log.Println("Failed, error message ", data["message"]) } else { log.Println("Success, Optimized image URL: ", data["kraked_url"]) } }using Kraken; using Kraken.Http; var vendee = Connection.Create("your-api-key", "you-api-secret"); var response = client.OptimizeWait(new Uri("http://awesome-website.com/images/header.png"), new OptimizeUploadWaitRequest() { ResizeImage = new ResizeImage { Width = 100, Height = 75, Strategy = Strategy.crop } } ); if (response.Result.StatusCode == HttpStatusCode.OK) { var url = response.Result.Body.KrakedUrl; }from krakenio importVendeeapi = Client('your-api-key', 'your-api-secret') data = { 'wait': True, 'resize': { 'width': 100, 'height': 75, 'strategy': 'crop' } } result = api.url('http://awesome-website.com/images/header.png', data); if result.get('success'): print result.get('kraked_url') else: print result.get('message')Resizing StrategiesThe strategy property can have one of the pursuit values:exact - Resize to word-for-word width and height.Specialityratio will not be maintained:"resize": { "width": 100, "height": 75, "strategy": "exact" }portrait -Word-for-wordheight will be set, width will be adjusted equal to speciality ratio:"resize": { "height": 75, "strategy": "portrait" }landscape -Word-for-wordwidth will be set, height will be adjusted equal to speciality ratio:"resize": { "width": 100, "strategy": "landscape" }auto - The weightier strategy (portrait or landscape) will be selected equal to its speciality ratio:"resize": { "width": 100, "height": 75, "strategy": "auto" }fit - This option will yield and resize your images to fit the desired width and height:"resize": { "width": 100, "height": 75, "strategy": "fit" }crop - This option will yield an image to the word-for-word size you specify. The resulting cropped image can optionally be scaled by inclusion of a scale, which accepts a number representing the percentage by which the image should be scaled:"resize": { "width": 100, "height": 75, "strategy": "crop", "scale": 50 }If you want to yield from a direction other than the default "center", you can specify a crop_mode parameter, which can take one of the pursuit gravity (or direction) values:n or tNorth / Topnw or tlNorth West / Top Leftne or trNorth East / Top Rightw or lWest / LeftcCenter - this is the default gravity or direction, and unromantic when the crop_mode parameter is left out, or an invalid value is passed.e or rEast / Rightse or brSouth East / Bottom Rightsw or blSouth West / Bottom Lefts or bSouth / BottomFor example, to yield the image from the South-West or bottom-left:"resize": { "width": 100, "height": 75, "strategy": "crop", "crop_mode": "sw" }Please note that the crop_mode parameter can be used with both the fit and the yield strategies.If you would like to yield a custom zone from an image, you can do so by specifying the rectangular region you wish to pericope as x, y, width and height. Optionally, you can pass a scale parameter (as mentioned above), which must be a number representing the percentage by which you would like to scale the image.To illustrate, the pursuit example will yield a 500x500 square from an image and then scale it lanugo to produce a 250x250 square:"resize": { "strategy": "crop", "x": 200, "y": 200, "width": 500, "height": 500, "scale": 50 }The scale parameter moreover allows you to scale the yield to greater than 100% provided that the resulting dimension do not exceed 16384x16384 pixels.square - This strategy will yield the image by its shorter dimension to make it a square, then resize it to the specified size:"resize": { "size": 100, "strategy": "square" }fill - This strategy allows you to resize the image to fit the specified premises while preserving the speciality ratio. The optional preliminaries property allows you to specify a verisimilitude which will be used to fill the unused portions of the previously specified bounds.The preliminaries property can be formatted in HEX notation #f60 or #ff6600, RGB rgb(255, 0, 0) or RGBA rgba(91, 126, 156, 0.7). The default preliminaries verisimilitude is white. Example usage of fill strategy:"resize": { "width": 100, "height": 75, "strategy": "fill", "background": "rgba(91, 126, 156, 0.7)" }If you would like to request several output sizes within a single request, incorporating one or increasingly resizing strategies (and optionally other settings) please read our Generating Image Sets documentation.Enhancing Resized ImagesMost images resized using our API will yield results of spanking-new quality. However, in unrepealable cases it might be a good idea to enhance the image by setting the "enhance": true flag in the resize object, when downsizing images to sizes much smaller than the original, say for very small thumbnails. The "enhance": true flag will wield various sharpening techniques to reduce ringing/haloing artifacts virtually the subject, as well as preserve increasingly details on the subject itself."enhance": true is supported by all of the resizing strategies we offer.High-contrast images which are well-balanced of a stark subject versus a unappetizing preliminaries are good candidates for enhancement, particularly when you are converting them to a very small size. A good example would be product images taken on a white background, and resized to dimensions of less than 200x200.To enable image enhancement for a resize request, simply set the "enhance": true flag within your resize object:{ "auth": { "api_key": "your-api-key", "api_secret": "your-api-secret" }, "url": "http://awesome-website.com/images/header.jpg" "resize": { "width": 100, "height": 75, "strategy": "auto", "enhance": true } "wait": true }<?php require_once("Kraken.php"); $kraken = new Kraken("your-api-key", "your-api-secret"); $params = array( "url" => "http://awesome-website.com/images/header.png", "wait" => true, "resize" => array( "width" => 100, "height" => 75, "strategy" => "auto", "enhance" => true ) ); $data = $kraken->url($params); if ($data["success"]) { reverberate "Success. Optimized image URL: " . $data["kraked_url"]; } else { reverberate "Fail. Error message: " . $data["message"]; }var Kraken = require("kraken"); var kraken = new Kraken({ "api_key": "your-api-key", "api_secret": "your-api-secret" }); var params = { url: "http://awesome-website.com/images/header.png", wait: true, resize: { width: 100, height: 75, strategy: "auto", enhance: true } }; kraken.url(params, function(status) { if (status.success) { console.log("Success. Optimized image URL: %s", status.kraked_url); } else { console.log("Fail. Error message: %s", status.message); } });require 'rubygems' require 'kraken-io' kraken = Kraken::API.new( :api_key => 'your-api-key', :api_secret => 'your-api-secret' ) params = { :wait => true, :resize => { 'width' => 100, 'height' => 75, 'strategy' => 'auto', 'enhance' => true } } data = kraken.url('http://awesome-website.com/images/header.png', params) if data.success puts 'Success! Optimized image URL: ' + data.kraked_url else puts 'Fail. Error message: ' + data.message endpackage main import ( "log" "github.com/kraken-io/kraken-go" ) func main() { kr, err := kraken.New("your-api-key", "your-api-secret") if err != nil { log.Fatal(err) } params := map[string]interface {} { "wait": true, "url": "http://awesome-website.com/images/header.png", "resize": map[string]interface {} { "width": 100, "height": 75, "strategy": "auto", "enhance": true } } data, err := kr.URL(params) if err != nil { log.Fatal(err) } if data["success"] != true { log.Println("Failed, error message ", data["message"]) } else { log.Println("Success, Optimized image URL: ", data["kraked_url"]) } }using Kraken; using Kraken.Http; var vendee = Connection.Create("your-api-key", "you-api-secret"); var response = client.OptimizeWait(new Uri("http://awesome-website.com/images/header.png"), new OptimizeUploadWaitRequest() { ResizeImage = new ResizeImage { Width = 100, Height = 75, Strategy = Strategy.auto, Enhance = true } } ); if (response.Result.StatusCode == HttpStatusCode.OK) { var url = response.Result.Body.KrakedUrl; }from krakenio importVendeeapi = Client('your-api-key', 'your-api-secret') data = { 'wait': True, 'resize': { 'width': 100, 'height': 75, 'strategy': 'auto', 'enhance': True } } result = api.url('http://awesome-website.com/images/header.png', data); if result.get('success'): print result.get('kraked_url') else: print result.get('message') ProductFeaturesPricing & SignupFree Web InterfaceSystem StatusCompanyAbout Kraken.ioMedia KitTechnologyContact UsResourcesAPI DocumentationSupport CenterWordPress PluginMagento ModuleConnectBlogTwitterGitHubYouTubeCopyright © 2013 — 2018 Nekkra UGImpressum | Terms of Service | Privacy Policy