add png import-conversion parameterization

This commit is contained in:
Stewart Allen 2022-05-11 23:18:34 -04:00
commit 46745150c9
5 changed files with 75 additions and 5 deletions

View file

@ -511,6 +511,7 @@ gapp.register("kiri.main", [], (root, exports) => {
* Settings Functions
******************************************************************* */
// convert any image type to png
function loadImageConvert(res, name) {
let url = URL.createObjectURL(new Blob([res]));