examples: replaced the Lenna with free images
https://www.pexels.com/photo/lovebirds-cuddling-on-a-wooden-branch-30518529/ https://www.pexels.com/@hardeep/ issue: https://github.com/thorvg/thorvg/issues/3499
|
@ -65,7 +65,7 @@ struct UserExample : tvgexam::Example
|
||||||
auto picture = tvg::Picture::gen();
|
auto picture = tvg::Picture::gen();
|
||||||
if (!tvgexam::verify(picture->load(data, size, "png", "", true))) return false;
|
if (!tvgexam::verify(picture->load(data, size, "png", "", true))) return false;
|
||||||
free(data);
|
free(data);
|
||||||
picture->translate(400, 0);
|
picture->translate(380, 0);
|
||||||
picture->scale(0.8);
|
picture->scale(0.8);
|
||||||
canvas->push(picture);
|
canvas->push(picture);
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 399 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 390 KiB |
Before Width: | Height: | Size: 426 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 533 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 617 KiB After Width: | Height: | Size: 192 KiB |