ImgProcFile
このコンテンツはまだ日本語訳がありません。
Defined in: types.ts:583
Data entry in the cache database
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
optionalb:number
Defined in: types.ts:615
Dominant color based on sharp().stats()
- Updatable
base64?
Section titled “base64?”
optionalbase64: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?”
optionalexpiresAt:number
Defined in: types.ts:639
Remote image expiration date (unixtime, milliseconds)
- Updatable
- Based on
Cache-ControlorExpiresheader. - Equivalent to browser cache.
format
Section titled “format”format:
string
Defined in: types.ts:632
Based on sharp().metadata()
optionalg: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?”
optionalprofile:string
Defined in: types.ts:628
Only for variant and placeholder
optionalr: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
srcattribute - Source/Remote file: Last used downloaded URL
- Source/Data URL: Fixed string “data”
width:
number
Defined in: types.ts:598
Real width