Fork me on GitHub
@Html.DynamicImageTag(b => b.WithLayer(
	LayerBuilder.Image.SourceBytes(
		File.ReadAllBytes(Server.MapPath("~/Assets/Images/AutumnLeaves.jpg"))
	).WithFilter(FilterBuilder.Resize.To(500, 500))
))