ls ~/Pictures/*.png | xargs -P 4 -I{} convert {} -scale 1x1\! -format '%f %[pixel:u]\n' info:- | tee ~/images-main-color.txt # Determine the dominant color of .png images in your Pictures directory by reducing it's size to 1 pixel, do 4 images at once and save the text output.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!