View Single Post
Old August 8th, 2009, 06:16 PM   #8
svga
Former Staff
 
svga's Avatar
 
Join Date: Aug 2008
Location: Germany - Tripping the Rift
Posts: 1,427
Thanks: 16,756
Thanked 39,590 Times in 1,329 Posts
svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+
Default

Quote:
Originally Posted by Xxphd View Post
producing a BMP or PICT will reduce the size to about 50% or even less of that I guess
No, it's almost the same size (26781040 respective 26780742 bytes in the example):

Code:
> convert page26.pnm page26.bmp # converts PNM to BMP (lossless)
> ls -l
-rw-r-----  1 anon anon 26781040 Jun 26 23:43 page26.pnm
-rw-r--r--  1 anon anon 26780742 Aug  8 18:41 page26.bmp
As far as I know PNM has also an ASCII representation instead of using raw binary data. If this would be used you would be right.

PNM and BMP are almost the same formats, they store for every pixel the full information (e..g. 24 bits RGB value or 8 bit grey value).
__________________
PM me if my uploads are no longer available, I will re-upload them
svga is offline   Reply With Quote
The Following 5 Users Say Thank You to svga For This Useful Post: