image/backgroundColor: Scale down to to 201px

An odd number seems to help with catching some details.

Closes #328
This commit is contained in:
Sophie Herold 2024-02-25 18:06:46 +01:00
parent 92e100fdb0
commit 0bafb1e5d3

View file

@ -71,7 +71,7 @@ impl imp::LpImage {
let max_size = i32::max(width, height); let max_size = i32::max(width, height);
// Only use max 200px size scaled image for analysis // Only use max 200px size scaled image for analysis
let zoom = f64::min(1., 200. / max_size as f64); let zoom = f64::min(1., 201. / max_size as f64);
let snapshot = gtk::Snapshot::new(); let snapshot = gtk::Snapshot::new();
let render_options = tiling::RenderOptions { let render_options = tiling::RenderOptions {