Michal Maciola
cff8815404
loaders: Pass mimetype to picture::load
...
* loaders: Pass mimetype to picture::load
Added mimetype attribute to enfaster loading using a proper loader.
@Changed api: Picture::load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false)
@issue: #571
2021-08-05 11:02:26 +09:00
Hermet Park
5e52134e2a
dexample Picture: improve the test coverage.
...
In this patch, it replaced the test images with Lenna.
and fix the wrong jpeg file size figuring.
2021-07-30 12:09:59 +09:00
Hermet Park
02081d8cdc
common picture: correct non-working size() behavior.
...
Pixel-based image picture doesn't work at size() method.
Obvisouly, we missed to implement it properly.
This patch corrects it.
@Issue: https://github.com/Samsung/thorvg/issues/656
2021-07-29 11:44:18 +09:00
Hermet Park
89d35123d8
examples: add commentary for exceptions.
2021-06-23 13:10:02 +09:00
Hermet Park
6cc7dfdc56
examples: revise picture sample code.
2021-04-01 20:05:07 +09:00