콘텐츠로 이동

transformImage

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/image · Kind Function

import { transformImage } from '@netwiv/api/image';

Transforms image from various types into a type acceptable by Rust.

See tauri::image::JsImage for more information. Note the API signature is not stable and might change.

function transformImage<T>(image: string | number[] | Image | ArrayBuffer | Uint8Array<ArrayBufferLike> | null): T

Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.