A Photography forum. PhotoBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PhotoBanter.com forum » Digital Photography » Digital SLR Cameras
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Count 'em 1 M colours



 
 
Thread Tools Display Modes
  #1  
Old May 13th 09, 08:46 PM posted to rec.photo.digital.slr-systems
Alan Browne
external usenet poster
 
Posts: 12,640
Default Count 'em 1 M colours


Per the claim, this image has 1M different colours in it...

http://upload.wikimedia.org/wikipedi...6/1Mcolors.png
http://en.wikipedia.org/wiki/File:1Mcolors.png

--
-- r.p.e.35mm user resource: http://www.aliasimages.com/rpe35mmur.htm
-- r.p.d.slr-systems: http://www.aliasimages.com/rpdslrsysur.htm
-- [SI] gallery & rulz: http://www.pbase.com/shootin
-- e-meil: Remove FreeLunch.
-- usenet posts from gmail.com and googlemail.com are filtered out.
  #2  
Old May 14th 09, 12:12 AM posted to rec.photo.digital.slr-systems
Me
external usenet poster
 
Posts: 796
Default Count 'em 1 M colours

Alan Browne wrote:

Per the claim, this image has 1M different colours in it...

http://upload.wikimedia.org/wikipedi...6/1Mcolors.png
http://en.wikipedia.org/wiki/File:1Mcolors.png

Yes - it does have exactly 1 million different colours.
Some possibly interesting observations:

The png file is only 9,641 bytes.
Saved as an 8 bit tiff (with no embedded thumbnail), the file is
4,000,450 bytes.
Saved as jpeg using photoshop at quality 12 (maximum) file size is
480,886 bytes. Some image data is lost, as image data is reduced to
958978 different colours, but it still looks okay to me.
At quality 8 (high) file size is 207,569 bytes with 875,702 different
colours. Banding is quite clearly visible in the gradients which are
not visible in the original png.
Applying an ICC colour profile to the image (adobe wide gamut RGB) then
converting to working RGB, then resaving, colours are reduced to
417,087, and banding is more pronounced than with the high quality (8)
jpg - it looks very bad IMO.
PNG is a great format for this kind of image.



  #3  
Old May 14th 09, 01:45 AM posted to rec.photo.digital.slr-systems
Alan Browne
external usenet poster
 
Posts: 12,640
Default Count 'em 1 M colours

Me wrote:
Alan Browne wrote:

Per the claim, this image has 1M different colours in it...

http://upload.wikimedia.org/wikipedi...6/1Mcolors.png
http://en.wikipedia.org/wiki/File:1Mcolors.png

Yes - it does have exactly 1 million different colours.
Some possibly interesting observations:

The png file is only 9,641 bytes.
Saved as an 8 bit tiff (with no embedded thumbnail), the file is
4,000,450 bytes.
Saved as jpeg using photoshop at quality 12 (maximum) file size is
480,886 bytes. Some image data is lost, as image data is reduced to
958978 different colours, but it still looks okay to me.
At quality 8 (high) file size is 207,569 bytes with 875,702 different
colours. Banding is quite clearly visible in the gradients which are
not visible in the original png.
Applying an ICC colour profile to the image (adobe wide gamut RGB) then
converting to working RGB, then resaving, colours are reduced to
417,087, and banding is more pronounced than with the high quality (8)
jpg - it looks very bad IMO.
PNG is a great format for this kind of image.


What is it about PNG that allows 1M colors (24 bit/colour I assume (or
at least 20 bit, 2^201X10^6, slightly)) to be in a file less than 10 KB
in size?

--
-- r.p.e.35mm user resource: http://www.aliasimages.com/rpe35mmur.htm
-- r.p.d.slr-systems: http://www.aliasimages.com/rpdslrsysur.htm
-- [SI] gallery & rulz: http://www.pbase.com/shootin
-- e-meil: Remove FreeLunch.
-- usenet posts from gmail.com and googlemail.com are filtered out.
  #4  
Old May 14th 09, 08:04 AM posted to rec.photo.digital.slr-systems
David J Taylor[_11_]
external usenet poster
 
Posts: 451
Default Count 'em 1 M colours

Alan Browne wrote:
[]
What is it about PNG that allows 1M colors (24 bit/colour I assume (or
at least 20 bit, 2^201X10^6, slightly)) to be in a file less than 10
KB in size?


1 - that PNG can encode the differences between current line and current
pixel and previous line and pixel.

2 - lossless compression (of a highly repeating difference pattern).

Cheers,
David

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grey card for accurate colours Alfred Molon[_4_] Digital Photography 39 September 12th 08 09:50 AM
Film... Still the best for subtle colours D_Mac 35mm Photo Equipment 14 September 6th 07 05:19 AM
printer colours vs 'real' colours dido22 Digital Photography 4 June 15th 07 04:37 PM
HP xb31 no red colours? FredBear Other Photographic Equipment 0 March 23rd 07 12:26 PM
Film still better with colours than digital? Rich Digital Photography 45 November 1st 05 04:50 AM


All times are GMT +1. The time now is 04:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PhotoBanter.com.
The comments are property of their posters.