Fork me on GitHub
@Html.DynamicImageTag(b => b.WithLayer(
	LayerBuilder.Image.SourceFile("~/Assets/Images/AutumnLeaves.jpg")
		.WithFilter(FilterBuilder.Resize.To(500, 500))
		.WithFilter(FilterBuilder.RoundCorners.BorderColor(Colors.Red).BorderWidth(20).Roundness(40))
))