add png import-conversion parameterization
This commit is contained in:
parent
be14dc53e6
commit
46745150c9
5 changed files with 75 additions and 5 deletions
|
|
@ -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]));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue