Type alias AssetInformation
AssetInformation: { contentBase64: string; exif?: Exif; fileName?: string | null; height: number; type?: "image"; width: number; } Type declaration
contentBase64: string
Optional
exif?: Exif
Optional
fileName?: string | null
height: number
Optional
type?: "image"
width: number
画像をJPEG形式に変換してbase64エンコードした文字列
'data:image/jpeg;base64,'
を先頭につけることでdata URIを生成できます。