ImgProcFile
このコンテンツはまだ日本語訳がありません。
Defined in: types.ts:583
Data entry in the cache database
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
optional
b:number
Defined in: types.ts:615
Dominant color based on sharp().stats()
- Updatable
base64?
Section titled “base64?”
optional
base64:string
Defined in: types.ts:596
Base64 for placeholder
category
Section titled “category”category:
ImgProcFileCategory
Defined in: types.ts:594
File category
expiresAt?
Section titled “expiresAt?”
optional
expiresAt:number
Defined in: types.ts:639
Remote image expiration date (unixtime, milliseconds)
- Updatable
- Based on
Cache-Control
orExpires
header. - Equivalent to browser cache.
format
Section titled “format”format:
string
Defined in: types.ts:632
Based on sharp().metadata()
optional
g:number
Defined in: types.ts:610
Dominant color based on sharp().stats()
- Updatable
hash:
string
Defined in: types.ts:592
Hash
- Indexed
- Placeholder:
hasher(base64)
- Remote file:
hasher(src)
- Local file:
hasher(buffer)
orhasher(src)
- Data URL:
hasher(base64)
height
Section titled “height”height:
number
Defined in: types.ts:600
Real height
profile?
Section titled “profile?”
optional
profile:string
Defined in: types.ts:628
Only for variant and placeholder
optional
r:number
Defined in: types.ts:605
Dominant color based on sharp().stats()
- Updatable
source
Section titled “source”source:
string
Defined in: types.ts:624
Source hash
- Indexed
- Variant/Placeholder: Source hash
- Source/Local file: Last used
src
attribute - Source/Remote file: Last used downloaded URL
- Source/Data URL: Fixed string “data”
width:
number
Defined in: types.ts:598
Real width