Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PNG End Bytes Significance?
#7
(01-01-2012, 06:13 PM)Fragma Wrote: No offence but that sounds really really boring. But hey what do I know, I'm sure it's useful. Good luck with your project.

Boring because you don't understand or you don't like dealing with bytes? Not everything in programming is going to be flashy like graphics Smile

So far i'm able to remove 2 types of byte chunks in the PNG file format, which gets me about 30-50 bytes less than the original filesize. Still more to go, but PNG is already a fairly minimal filetype. There's not much you can do with compressing it's data.

Edit:
pHYs: *Total Byte Capacity = 21
Code:
0x00 0x09 0x70 0x48 0x59 0x73 0x00 0x00

cHRM: *Total Byte Capacity = 44
Code:
0x00 0x20 0x63 0x48 0x52 0x4D 0x00 0x00

Basically in sum along with those 12 in the last 12 bytes of the file allow me to optimize the file by a difference of 77 bytes, not 30-50. Soon i'll be able to downsize by over 1kb, but with very small graphics that can be a big difference. There's not all the byte chunks stored in smaller graphics though due to the lack of color values in each pixel, but if you're doing this with every file you have on your website it can make a difference. Omni here wants userbars to be under 3kb? 4kb? I can't remember, but here's a use for that as well.
Reply


Messages In This Thread
PNG End Bytes Significance? - by AceInfinity - 01-01-2012, 06:11 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-01-2012, 07:21 AM
RE: PNG End Bytes Significance? - by King - 01-01-2012, 04:06 PM
RE: PNG End Bytes Significance? - by Fragma - 01-01-2012, 04:07 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-01-2012, 05:27 PM
RE: PNG End Bytes Significance? - by Fragma - 01-01-2012, 06:13 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-01-2012, 09:22 PM
RE: PNG End Bytes Significance? - by King - 01-02-2012, 01:03 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 03:18 AM
RE: PNG End Bytes Significance? - by haphazard - 01-07-2012, 09:29 PM
RE: PNG End Bytes Significance? - by King - 01-02-2012, 03:40 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 03:50 AM
RE: PNG End Bytes Significance? - by King - 01-02-2012, 04:07 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 04:24 AM
RE: PNG End Bytes Significance? - by King - 01-02-2012, 04:31 AM
RE: PNG End Bytes Significance? - by Fragma - 01-02-2012, 05:09 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 02:24 PM
RE: PNG End Bytes Significance? - by Fragma - 01-02-2012, 02:35 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 02:39 PM
RE: PNG End Bytes Significance? - by Omniscient - 01-02-2012, 07:31 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 07:51 PM
RE: PNG End Bytes Significance? - by 13th - 01-02-2012, 08:58 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 09:03 PM
RE: PNG End Bytes Significance? - by BlackChaos - 01-02-2012, 09:22 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 10:13 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-02-2012, 11:23 PM
RE: PNG End Bytes Significance? - by Omniscient - 01-03-2012, 12:40 AM
RE: PNG End Bytes Significance? - by AceInfinity - 01-03-2012, 02:23 AM
RE: PNG End Bytes Significance? - by Peter L - 01-07-2012, 09:50 PM
RE: PNG End Bytes Significance? - by AceInfinity - 01-07-2012, 10:29 PM

Forum Jump:


Users browsing this thread: 15 Guest(s)