update
This commit is contained in:
@@ -21,7 +21,7 @@ function capImage(buf) {
|
||||
|
||||
/**
|
||||
* 把图片 buffer 按 SOFT_CAP_BYTES 收纳:超出的图压成 RESIZE_WIDTH 宽。
|
||||
* 三处共用:pollClipboard / bringFavoriteIntoHistory。
|
||||
* 两处共用:pollClipboard / bringFavoriteIntoHistory(见 main.js)。
|
||||
*
|
||||
* 返回 { buf, preview },preview 由 capImage 给出(无图/小图 = null),
|
||||
* 给数据库的 preview 列用。
|
||||
|
||||
Reference in New Issue
Block a user