Search found 7 matches

by dedalus
2015-02-23T07:51:41-07:00
Forum: Users
Topic: Help convert raw .RW2 image
Replies: 2
Views: 4533

Re: Help convert raw .RW2 image

:shock: ehm … that's true, thanks a lot. I was sure I had to prefix rgb: and I didn't try without.
by dedalus
2015-02-22T23:29:17-07:00
Forum: Users
Topic: Help convert raw .RW2 image
Replies: 2
Views: 4533

Help convert raw .RW2 image

Hi, I was trying to get a jpg or png converting a .RW2 file (Panasonic Lumix raw format). If I run dcraw -w -c image.RW2 | convert - -resize 366x275 image.jpg it works, not so if I run convert -depth 16 -size 366x275 rgb:image.RW2 image.jpg . I tried different -depth and also gray:image.RW2, output ...
by dedalus
2014-11-18T21:58:53-07:00
Forum: Users
Topic: Knowing if RGB images are almost BW/grayscale.
Replies: 17
Views: 9077

Re: Knowing if RGB images are almost BW/grayscale.

Yes, seeing those images (often quite variable) I understand it's not so simple to find out a good method that can replace a direct look… Although, apart from imagemagick in particular, it seems strange in the year 2014 there is not an "easy" way to get the result I'm looking for. So thanks a lot f ...
by dedalus
2014-11-18T20:57:37-07:00
Forum: Users
Topic: Knowing if RGB images are almost BW/grayscale.
Replies: 17
Views: 9077

Re: Knowing if RGB images are almost BW/grayscale.

If you believe that it's faster and more reliable, thanks for your suggestion fmw42. But, ehm,.. I see here http://www.fmwconcepts.com/imagemagick/tidbits/image_info.php#color_percent two ways to get the percentage of just 1 color,.. I really don't know a smart way to get the percentage of 256 grays ...
by dedalus
2014-11-17T00:30:34-07:00
Forum: Users
Topic: Knowing if RGB images are almost BW/grayscale.
Replies: 17
Views: 9077

Re: Knowing if RGB images are almost BW/grayscale.

Well thanks, so here http://goo.gl/TObXPX (Dropbox, less than 1MB) you can download a zip file with some sample images. The "yes_100" .jpg are the ones to spot. Even those with "yes_90" it would be good to find. But maybe it's asking too much. My aim is to optimize their weight. In fact, if the JPG ...
by dedalus
2014-11-16T19:01:27-07:00
Forum: Users
Topic: Knowing if RGB images are almost BW/grayscale.
Replies: 17
Views: 9077

Re: Knowing if RGB images are almost BW/grayscale.

Hi, Thanks for your idea, but trying it with some images I have, this is what I get: 0.545707 … a rgb B&W image ( "white" background) 0.477206 … a rgb with some colors image ( "white" background) 0.489378 … a rgb (similar to previous one) 0.607111 … a rgb with some colors image ( "white" background) ...
by dedalus
2014-11-15T00:40:44-07:00
Forum: Users
Topic: Knowing if RGB images are almost BW/grayscale.
Replies: 17
Views: 9077

Knowing if RGB images are almost BW/grayscale.

Hi, I would understand if there is a "fast" way (the best "one line" command…) with IM to identify a nearly BW/grayscale (s)RGB picture. I mean if an RGB image consists mainly of grays and/or black and white colors. This demand because if I have a bunch of RGB jpg images and just some are almost as g ...