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: IModelConnection | undefined, _params: Params): RenderTexture | undefined Parameter Type Description _image HTMLImageElement _hasAlpha boolean _imodel IModelConnection | undefined _params Params Returns - RenderTexture | undefined Defined in core/frontend/src/render/RenderSystem.ts Line 541 Last Updated: 13 June, 2024