Interface: ImageBitmapOptions
Defined in: types/desktop-engine.d.ts:1327
Properties
colorSpaceConversion?
ts
optional colorSpaceConversion?: "default" | "none";Defined in: types/desktop-engine.d.ts:1333
Accepted, ignored
imageOrientation?
ts
optional imageOrientation?: "none" | "from-image" | "flipY";Defined in: types/desktop-engine.d.ts:1329
"flipY" turns it upside down (three.js's ImageBitmapLoader asks for that); an image file is turned as its orientation says
premultiplyAlpha?
ts
optional premultiplyAlpha?: "default" | "none" | "premultiply";Defined in: types/desktop-engine.d.ts:1331
"none": WebGL gets its colors not premultiplied
resizeHeight?
ts
optional resizeHeight?: number;Defined in: types/desktop-engine.d.ts:1336
resizeQuality?
ts
optional resizeQuality?: "medium" | "pixelated" | "low" | "high";Defined in: types/desktop-engine.d.ts:1338
"pixelated" doesn't smooth when resizing
resizeWidth?
ts
optional resizeWidth?: number;Defined in: types/desktop-engine.d.ts:1335
Its size; with only one of them the other keeps the aspect ratio. 0 is an error
