Search found 3 matches

by samuelwn
2019-01-28T14:31:28-07:00
Forum: Users
Topic: Average color by row (bash)
Replies: 5
Views: 2947

Re: Average color by row (bash)

It seems to give different answers from the inputs "xc:red", "xc:lime" and "xc:blue". But I'm no bash expert. The way that my previous solution worked was by parsing the text output, e.g. 0,0: (150,150,150) #969696 gray(150) and snipping out the value between the 2nd a...
by samuelwn
2019-01-28T12:55:37-07:00
Forum: Users
Topic: Average color by row (bash)
Replies: 5
Views: 2947

Re: Average color by row (bash)

I literally did a forehead-slap while reading that.
Thank you!!
by samuelwn
2019-01-28T12:26:10-07:00
Forum: Users
Topic: Average color by row (bash)
Replies: 5
Views: 2947

Average color by row (bash)

I'm looking for a way to get the average color of each row for a grayscale image. I've gotten a functional solution, but it's rather slow and inelegant. I'm sure that there's a better way to do this (likely within a single ImageMagick command), but I'm unable to figure it out. Any assistance would b...