Timber Chainsaw — Demo

Providers: Docs Clear cache & regenerate
Source:

Summary

Cells rendered
143
Total generation time
6.50 s
Peak memory
41.59 MB

Crop

crop center

$image->crop(800, 300)
{{ image|crop(800, 300)|render }}
myles-tan.jpg800×300
intervention-gd
crop center
669.2 µs 449.2 KB
intervention-imagick
crop center
306.8 µs 448.5 KB
intervention-vips
crop center
284.4 µs 448.8 KB
imagine-gd
crop center
287.1 µs 448.5 KB
imagine-imagick
crop center
290.3 µs 448.5 KB
cloudflare
crop center
198.6 µs 448.5 KB
cloudinary
crop center
238.4 µs 448.6 KB
imagekit
crop center
253.4 µs 448.6 KB
imgix
crop center
243.9 µs 448.6 KB
imgproxy
crop center
226.4 µs 448.6 KB
thumbor
crop center
218.6 µs 448.6 KB
imagor
crop center
190.0 µs 448.6 KB
wserv
crop center
171.7 µs 448.6 KB

crop top

$image->crop(800, 300, CropPosition::Top)
{{ image|crop(800, 300, enum('Timber\\Chainsaw\\Enum\\CropPosition').Top)|render }}
myles-tan.jpg800×300
intervention-gd
crop top
79.70 ms 12.57 MB
intervention-imagick
crop top
84.47 ms 890.2 KB
intervention-vips
crop top
83.44 ms 904.0 KB
imagine-gd
crop top
134.09 ms 14.18 MB
imagine-imagick
crop top
368.32 ms 890.5 KB
cloudflare
crop top
470.1 µs 448.9 KB
cloudinary
crop top
280.7 µs 448.6 KB
imagekit
crop top
207.1 µs 448.6 KB
imgix
crop top
181.9 µs 448.6 KB
imgproxy
crop top
203.4 µs 448.6 KB
thumbor
crop top
187.9 µs 448.6 KB
imagor
crop top
197.2 µs 448.6 KB
wserv
crop top
187.7 µs 448.6 KB

crop bottom

$image->crop(800, 300, CropPosition::Bottom)
{{ image|crop(800, 300, enum('Timber\\Chainsaw\\Enum\\CropPosition').Bottom)|render }}
myles-tan.jpg800×300
intervention-gd
crop bottom
78.35 ms 12.56 MB
intervention-imagick
crop bottom
117.93 ms 890.2 KB
intervention-vips
crop bottom
86.74 ms 891.9 KB
imagine-gd
crop bottom
126.59 ms 14.18 MB
imagine-imagick
crop bottom
314.75 ms 890.4 KB
cloudflare
crop bottom
456.5 µs 448.9 KB
cloudinary
crop bottom
263.3 µs 448.6 KB
imagekit
crop bottom
305.2 µs 448.6 KB
imgix
crop bottom
204.8 µs 448.6 KB
imgproxy
crop bottom
194.9 µs 448.6 KB
thumbor
crop bottom
198.0 µs 448.6 KB
imagor
crop bottom
237.6 µs 448.6 KB
wserv
crop bottom
191.8 µs 448.6 KB

crop left

$image->crop(400, 800, CropPosition::Left)
{{ image|crop(400, 800, enum('Timber\\Chainsaw\\Enum\\CropPosition').Left)|render }}
myles-tan.jpg400×800
intervention-gd
crop left
79.58 ms 13.06 MB
intervention-imagick
crop left
78.95 ms 890.2 KB
intervention-vips
crop left
75.03 ms 891.9 KB
imagine-gd
crop left
147.54 ms 20.38 MB
imagine-imagick
crop left
302.01 ms 890.4 KB
cloudflare
crop left
381.2 µs 448.9 KB
cloudinary
crop left
337.8 µs 448.6 KB
imagekit
crop left
246.8 µs 448.6 KB
imgix
crop left
206.1 µs 448.6 KB
imgproxy
crop left
215.0 µs 448.6 KB
thumbor
crop left
210.0 µs 448.6 KB
imagor
crop left
192.4 µs 448.6 KB
wserv
crop left
179.0 µs 448.6 KB

crop right

$image->crop(400, 800, CropPosition::Right)
{{ image|crop(400, 800, enum('Timber\\Chainsaw\\Enum\\CropPosition').Right)|render }}
myles-tan.jpg400×800
intervention-gd
crop right
76.97 ms 13.06 MB
intervention-imagick
crop right
77.32 ms 890.2 KB
intervention-vips
crop right
68.76 ms 891.9 KB
imagine-gd
crop right
231.28 ms 20.38 MB
imagine-imagick
crop right
429.75 ms 890.4 KB
cloudflare
crop right
406.1 µs 448.9 KB
cloudinary
crop right
306.2 µs 448.6 KB
imagekit
crop right
246.8 µs 448.6 KB
imgix
crop right
190.8 µs 448.6 KB
imgproxy
crop right
242.4 µs 448.6 KB
thumbor
crop right
217.6 µs 448.6 KB
imagor
crop right
192.2 µs 448.6 KB
wserv
crop right
178.3 µs 448.6 KB

cover smart

$image->cover(400, 400, Anchor::smart())
{{ image|cover(400, 400, 'smart')|render }}
myles-tan.jpg400×400
intervention-gd
Unsupported
intervention-imagick
Unsupported
intervention-vips
Unsupported
imagine-gd
Unsupported
imagine-imagick
Unsupported
cloudflare
cover smart
425.3 µs 448.9 KB
cloudinary
cover smart
208.2 µs 448.6 KB
imagekit
cover smart
201.9 µs 448.6 KB
imgix
cover smart
219.9 µs 448.6 KB
imgproxy
cover smart
214.2 µs 448.6 KB
thumbor
cover smart
322.8 µs 448.6 KB
imagor
cover smart
208.2 µs 448.6 KB
wserv
cover smart
244.4 µs 448.6 KB

cover focal

$image->cover(400, 400, Anchor::focal(0.7, 0.2))
{{ image|cover(400, 400, focal(0.7, 0.2))|render }}
myles-tan.jpg400×400
intervention-gd
cover focal
99.11 ms 12.36 MB
intervention-imagick
cover focal
98.97 ms 889.7 KB
intervention-vips
cover focal
88.45 ms 891.5 KB
imagine-gd
cover focal
92.53 ms 12.36 MB
imagine-imagick
cover focal
211.15 ms 890.0 KB
cloudflare
cover focal
426.4 µs 448.9 KB
cloudinary
Unsupported
imagekit
Unsupported
imgix
cover focal
195.5 µs 448.6 KB
imgproxy
cover focal
192.0 µs 448.6 KB
thumbor
Unsupported
imagor
cover focal
214.8 µs 448.6 KB
wserv
cover focal
185.2 µs 448.6 KB

cover focal + zoom

$image->cover(400, 400, Anchor::focal(0.7, 0.2, zoom: 1.5))
{{ image|cover(400, 400, focal(0.7, 0.2, 1.5))|render }}
myles-tan.jpg400×400
intervention-gd
cover focal + zoom
107.14 ms 12.36 MB
intervention-imagick
cover focal + zoom
97.23 ms 889.7 KB
intervention-vips
cover focal + zoom
79.36 ms 891.5 KB
imagine-gd
cover focal + zoom
99.16 ms 12.36 MB
imagine-imagick
cover focal + zoom
234.24 ms 890.0 KB
cloudflare
Unsupported
cloudinary
Unsupported
imagekit
Unsupported
imgix
cover focal + zoom
196.6 µs 448.6 KB
imgproxy
Unsupported
thumbor
Unsupported
imagor
Unsupported
wserv
Unsupported

manualCrop

$image->manualCrop(400, 300, 50, 50)
{{ image|manualCrop(400, 300, 50, 50)|render }}
myles-tan.jpg400×300
intervention-gd
manualCrop
43.80 ms 11.44 MB
intervention-imagick
manualCrop
70.58 ms 889.7 KB
intervention-vips
manualCrop
66.70 ms 891.5 KB
imagine-gd
manualCrop
73.09 ms 11.44 MB
imagine-imagick
manualCrop
107.96 ms 890.0 KB
cloudflare
manualCrop
451.6 µs 448.9 KB
cloudinary
manualCrop
236.1 µs 448.6 KB
imagekit
manualCrop
193.8 µs 448.6 KB
imgix
manualCrop
175.6 µs 448.6 KB
imgproxy
manualCrop
184.9 µs 448.6 KB
thumbor
manualCrop
199.7 µs 448.6 KB
imagor
manualCrop
191.1 µs 448.6 KB
wserv
manualCrop
4.28 ms 448.6 KB

cropToRatio

$image->cropToRatio('16:9')
{{ image|cropToRatio('16:9')|render }}
myles-tan.jpg1920×1080
intervention-gd
cropToRatio
255.88 ms 26.83 MB
intervention-imagick
cropToRatio
112.02 ms 1.11 MB
intervention-vips
cropToRatio
94.80 ms 2.12 MB
imagine-gd
cropToRatio
124.20 ms 26.82 MB
imagine-imagick
cropToRatio
157.67 ms 890.8 KB
cloudflare
Unsupported
cloudinary
cropToRatio
392.6 µs 448.6 KB
imagekit
cropToRatio
266.0 µs 448.6 KB
imgix
cropToRatio
204.1 µs 448.6 KB
imgproxy
Unsupported
thumbor
Unsupported
imagor
Unsupported
wserv
Unsupported

padToRatio

$image->padToRatio('16:9', '#3b82f6')
{{ image|padToRatio('16:9', '#3b82f6')|render }}
myles-tan.jpg2276×1280
intervention-gd
padToRatio
231.43 ms 41.59 MB
intervention-imagick
padToRatio
413.11 ms 1.24 MB
intervention-vips
padToRatio
108.04 ms 2.45 MB
imagine-gd
padToRatio
115.79 ms 36.59 MB
imagine-imagick
padToRatio
254.78 ms 890.4 KB
cloudflare
Unsupported
cloudinary
padToRatio
264.4 µs 448.6 KB
imagekit
padToRatio
204.7 µs 448.6 KB
imgix
padToRatio
179.2 µs 448.6 KB
imgproxy
Unsupported
thumbor
Unsupported
imagor
Unsupported
wserv
Unsupported