is there a program that will count the number of unique colors in a tif file or jpg file? i haven't had much luck so far with google.
SgWRX Senior Member 395 posts Likes: 2 Joined Jun 2005 Location: Wi More info | Jan 25, 2007 22:12 | #1 is there a program that will count the number of unique colors in a tif file or jpg file? i haven't had much luck so far with google.
LOG IN TO REPLY |
Jan 25, 2007 22:14 | #2 it looks like irfanview will do it.
LOG IN TO REPLY |
PhotosGuy Cream of the Crop, R.I.P. More info | Jan 26, 2007 10:20 | #3 Define "unique"? FrankC - 20D, RAW, Manual everything...
LOG IN TO REPLY |
curiosity mostly. by unique i meant: how many instances of an rgb triplet (color 1=225,128,128 color 2=128,233,215 etc)
LOG IN TO REPLY |
PhotosGuy Cream of the Crop, R.I.P. More info | Jan 26, 2007 18:40 | #5 256 X 256 X 256 = FrankC - 20D, RAW, Manual everything...
LOG IN TO REPLY |
ibdb TD's worst nightmare! 6,484 posts Likes: 7 Joined Jan 2006 Location: Puyallup -- Don't worry. Nobody else can pronounce it either. More info | I think he's looking for a count when not all 256x256x256 are represented. Just because an image can contain all those possible colors doesn't mean that it does. Or am I missing something? -David
LOG IN TO REPLY |
Jan 26, 2007 20:52 | #8 ibdb wrote in post #2606272 I think he's looking for a count when not all 256x256x256 are represented. Just because an image can contain all those possible colors doesn't mean that it does. Or am I missing something? nope, you're not missing anything
LOG IN TO REPLY |
PhotosGuy Cream of the Crop, R.I.P. More info | Jan 26, 2007 22:09 | #9 OK, can someone tell me just what the possible uses are of that measurebating? FrankC - 20D, RAW, Manual everything...
LOG IN TO REPLY |
Scottes Trigger Man - POTN Retired 12,842 posts Likes: 10 Joined Nov 2003 Location: A Little North Of Boston, MA, USA More info | Jan 26, 2007 22:46 | #10 Well it certainly gives on an idea of color loss when comparing processing in 8-bit versus 16-bit, for one. You can take my 100-400 L away when you pry it from my cold, dead fingers.
LOG IN TO REPLY |
ibdb TD's worst nightmare! 6,484 posts Likes: 7 Joined Jan 2006 Location: Puyallup -- Don't worry. Nobody else can pronounce it either. More info | Jan 26, 2007 23:30 | #11 PhotosGuy wrote in post #2606915 OK, can someone tell me just what the possible uses are of that measurebating? I didn't say it was useful. -David
LOG IN TO REPLY |
Jan 26, 2007 23:46 | #12 ibdb wrote in post #2607234 I didn't say it was useful. ![]() Actually, like Scottes said, it could possibly be used to view the effects of any particular editing mechanism. How much color do you lose through repeatedly saving a JPG? What's lost between 16-bit and 8-bit? I've never tried (or even really thought about) any of these, but I'm sure smarter people than me have found a way to put the information to use.
LOG IN TO REPLY |
yb98 Goldmember 2,625 posts Likes: 36 Joined Feb 2003 Location: Paris More info | Jan 27, 2007 04:00 | #13 ibdb wrote in post #2607234 I didn't say it was useful. ![]() Actually, like Scottes said, it could possibly be used to view the effects of any particular editing mechanism. How much color do you lose through repeatedly saving a JPG? What's lost between 16-bit and 8-bit? I've never tried (or even really thought about) any of these, but I'm sure smarter people than me have found a way to put the information to use. I'm not sure that the number of colors is the right criteria because some combinations may disappear but some new others may appear... Best DPP Threads
LOG IN TO REPLY |
Scottes Trigger Man - POTN Retired 12,842 posts Likes: 10 Joined Nov 2003 Location: A Little North Of Boston, MA, USA More info | Jan 27, 2007 06:26 | #14 yb98 wrote in post #2607913 I'm not sure that the number of colors is the right criteria because some combinations may disappear but some new others may appear... True, but depending on the processing done there will almost always be less colors in 8-bit mode regardless of the number of new colors created. From my tests in the past - with some standard post-processing procedures - the difference is significant. You can take my 100-400 L away when you pry it from my cold, dead fingers.
LOG IN TO REPLY |
PhotosGuy Cream of the Crop, R.I.P. More info | Jan 27, 2007 07:56 | #15 I didn't say it was useful. Here's some "enlightenment" for you, SgWRX: If you convert all your images to GIFs, you can be sure how many colors there are in them! I recommend going for 8, 'cause you can count them with only two hands? Here's a simple concept; "Start with more = end up with more." & you can stop sweating the small stuff. Take 2 identical shots, one in RAW & one at max jpeg. Use a tripod to be sure each shot has the exact same information in it. Convert the RAW file to jpeg. Look at the two file sizes. A max jpg from my 20D is 2,754 KB. The exact same shot with the jpg extracted from RAW is 4,315 KB which is 1.57X larger. FrankC - 20D, RAW, Manual everything...
LOG IN TO REPLY |
![]() | x 1600 |
| y 1600 |
| Log in Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!
|
| ||
| Latest registered member is Mihai Bucur 917 guests, 150 members online Simultaneous users record so far is 15,144, that happened on Nov 22, 2018 | |||