From aeedfd5f045c3365bace592512304207d11796cf Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 14 Jun 2025 23:10:09 +0300 Subject: [PATCH] EXP: use a larger image for color frequency extractor So that it catches smaller areas. --- lib/music_library/colors/color_frequency_extractor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/music_library/colors/color_frequency_extractor.ex b/lib/music_library/colors/color_frequency_extractor.ex index 2a8010d2..58a0d1b8 100644 --- a/lib/music_library/colors/color_frequency_extractor.ex +++ b/lib/music_library/colors/color_frequency_extractor.ex @@ -36,7 +36,7 @@ defmodule MusicLibrary.Colors.ColorFrequencyExtractor do end defp prepare_image_for_analysis(image) do - with {:ok, resized} <- Operation.thumbnail_image(image, 150) do + with {:ok, resized} <- Operation.thumbnail_image(image, 1000) do ensure_rgb_channels(resized) end end