Tankōbon / lib/cover-crop
lib/cover-crop
Choosing a book's cover in the renderer: the crop that fits any picture to the cover's 2:3 proportions (pure, coverSourceRect) and the conversion of the chosen part into the WebP sent to the main process (cropToCover).