|
153 | 153 | </div> |
154 | 154 | </div> |
155 | 155 |
|
156 | | - <h2>Watermark</h2> |
157 | | - <p>@@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Watermark().BuildUrl()</p> |
158 | | - <p>@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Watermark().BuildUrl()</p> |
159 | | - |
160 | | - <img src="@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).Watermark().BuildUrl()" /> |
161 | | - |
162 | | - <h2>Draw text</h2> |
163 | | - <p>@@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).DrawText("bat-eared-fox", 65, 0.3, 0.1, false).BuildUrl()</p> |
164 | | - <p>@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).DrawText("bat-eared-fox", 65, 0.3, 0.1, false).BuildUrl()</p> |
165 | | - |
166 | | - <img src="@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg").AsImage().Resize(400,400).DrawText("bat eared fox", 65, 0.3, 0.1, false).BuildUrl()" /> |
167 | | - |
168 | | - |
169 | | - @* <h2>Resize WebP image with SkiaSharp</h2> |
170 | | - <div class="row"> |
171 | | - <div class="col-lg-4"> |
172 | | - <img src="@Url.ImageWizard().FetchLocalFile("/img/raccoon.webp").AsImage().Resize(400,400).BuildUrl()" /> |
173 | | - </div> |
174 | | - </div>*@ |
175 | | - |
176 | 156 | <h2>Fetch local file (from wwwroot folder)</h2> |
177 | 157 | <p>@@Url.ImageWizard().FetchLocalFile("img/meerkat.jpg").AsImage().Resize(400,400).BuildUrl()</p> |
178 | 158 | <p>@Url.ImageWizard().FetchLocalFile("img/meerkat.jpg").AsImage().Resize(400, 400).BuildUrl()</p> |
|
245 | 225 | </div> |
246 | 226 | </div> |
247 | 227 |
|
| 228 | + <h2>Watermark</h2> |
| 229 | + <p>@@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Watermark().BuildUrl()</p> |
| 230 | + <p>@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Watermark().BuildUrl()</p> |
| 231 | + |
| 232 | + <img src="@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).Watermark().BuildUrl()" /> |
| 233 | + |
| 234 | + <h2>Draw text</h2> |
| 235 | + <p>@@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).DrawText("bat-eared-fox", 65, 0.3, 0.1, false).BuildUrl()</p> |
| 236 | + <p>@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg", 4).AsImage().Resize(400, 400).DrawText("bat-eared-fox", 65, 0.3, 0.1, false).BuildUrl()</p> |
| 237 | + |
| 238 | + <img src="@Url.ImageWizard().FetchLocalFile("img/bat-eared-fox.jpg").AsImage().Resize(400,400).DrawText("bat eared fox", 65, 0.3, 0.1, false).BuildUrl()" /> |
| 239 | + |
248 | 240 | <h2>Fetch youtube thumbnail</h2> |
249 | 241 |
|
250 | 242 | <p>@@Url.ImageWizard().Youtube("lzyWFew_w8Y").Resize(400,400).BuildUrl()</p> |
|
0 commit comments