Hello!
Could anyone tell me, please, where can I read about how the data is organized in a PNG image in base64 (or is it HEX or something yet else) format?
I don't need anything very advanced, simply to understand how I could generate, for example, a simple image with PHP.
I found PNG specification (
http://www.w3.org/TR/PNG/), but I couldn't really find what I was looking for (I hope that I don't need to learn all that before I can understand the basics of how this works...).
I have a (part of) sample code like this (which needs to be base64 encoded and then when output generate a PNG image):
Code:
wD//////////////1QAAAAAAAAAAAAAAAAAACjo////////////////
AP////////////+MAAAAAAAAAAAAAAAAAAAAADj////////////////
8A////////////9BAAAAAAAAAAAAAAAAAAAAAAALD//////////////
And wanted to know (at first) what all those characters mean. What is "AP", "8A", "wD"? What do "/"'s (and "1", "Q", "A" etc.) represent.
Can someone, please, explain this or show where I can read about it?
Thanks!