pub fn face_image_bytes(conn: &Connection, face_id: i64) -> Result<Vec<u8>>Expand description
JPEG bytes for a single aligned face thumbnail (140px), reading the disk
cache first and converting from the source image (HEIC via QuickLook) on a
miss, writing through to the cache. Returns Error::NotFound if the face id
is unknown or the crop cannot be produced. Synchronous: callers that need
async should run this on a blocking thread.
Holds conn only for the initial lookup (see face_lookup); callers that
share conn behind a lock across many concurrent requests should call
face_lookup/face_bytes_from_lookup directly instead, releasing the
lock between the two.