API Reference > imodeljs-frontend > Rendering > RenderSystem > createTextureFromImage createTextureFromImage Method Create a new texture from an HTML image. Typically the image was extracted from a binary representation of a jpeg or png via imageElementFromImageSource createTextureFromImage(_image: HTMLImageElement, _hasAlpha: boolean, _imodel: undefined | IModelConnection, _params: Params): undefined | RenderTexture Parameter Type Description _image HTMLImageElement _hasAlpha boolean _imodel undefined | IModelConnection _params Params Returns - undefined | RenderTexture Defined in core/frontend/src/render/RenderSystem.ts Line 487 Last Updated: 12 June, 2024