Welcome to ImageWizard

Use the standalone version or middleware.

Go to GitHub

SVG transforming

@Url.ImageWizard().FetchLocalFile("/img/dot-net-core.svg").BuildUrl()

/image/Z4HSQHh1xfLVKPkZtokCguGKMyotAClHDSEPLkE_tVE/fetch/img/dot-net-core.svg?v=LlJvJAJiqjHsNXmYvDiMMOC9JvTjf9eDFIOtsKKyEyA

Original (width=100px, height=100px)

RemoveSize()

Rotate(45.0)

Blur()

Fetch local file (from wwwroot folder)

@Url.ImageWizard().FetchLocalFile("/img/bat-eared-fox.jpg").Resize(400,400).BuildUrl()

/image/kYBIBma7pbpOPgodUDZqSqxKOwysAVvPoO2s3-Rk3qA/resize(400,400)/fetch/img/bat-eared-fox.jpg?v=2aD9g966hk7O4NygYHV23M-P6tVLZ3StXdEittBxtrU

Resize(400,400)

RoundedCorner(1.0)

Grayscale()

Blur()

Fetch static file by file loader

@Url.ImageWizard().File("/meerkat.jpg").Resize(400,400).BuildUrl()

/image/dsQVyOsiq9RwShZQRwkZqrz63ImZHNPYeD8DHzCPNg8/resize(400,400)/file/meerkat.jpg

Default

Grayscale

Blur

Fetch remote image

@Url.ImageWizard().Fetch("https://upload.wikimedia.org/wikipedia/commons/b/b7/Europe_topography_map.png").Resize(400,400).BuildUrl()

/image/ULXvrU8Cddn9ELEHYhD4KdpuXxfGbUqigzS2XVlYN70/resize(400,400)/fetch/https://upload.wikimedia.org/wikipedia/commons/b/b7/Europe_topography_map.png

Default

Grayscale

Blur

Fetch youtube image

@Url.ImageWizard().Youtube("6QBiWY09k8g").Resize(400,400).BuildUrl()

/image/TxkfLNFxWc9QCxC70ZXcPoQ8gQIWowKC1uM2iHgD2as/resize(400,400)/youtube/6QBiWY09k8g

Default

Grayscale

Blur

Fetch gravatar image

@Url.ImageWizard().Gravatar("MyEmailAddress@example.com").Resize(200,200).BuildUrl()

/image/Y1ZF3KOpalglhkR_1tbAc0vLjgbdlcraMfHPRaX3mRQ/resize(200,200)/gravatar/0bc83cb571cd1c50ba6f3e8a78ef1346

Default

Grayscale

Blur