How does a compressed data or an image builds up?

playerk3tt0
5 years ago

0

There are plenty of file extensions which are necessary to learn.
I’m still very beginner about them.

I wonder how others have learnt the different headers, ends, IDAT chunks etc.
I have hard time to understand for example where is the CRC of a PNG image.

May anybody could suggest me some useful links in this topic or answer those questions when I’m lost?

6replies
4voices
225views
fred [feuerstein]
5 years ago

0

I for myself wouldn’t learn them. I know that they exist and I have a little idea on how they could be built, but when it comes to details I have to use a reference on demand.

playerk3tt0
5 years ago

0

@feuerstein That is great, but…I cannot understand everything how it is written in references. :\

fred [feuerstein]
5 years ago

0

Most times it is well structured in frames like header, payload etc

Mugi [Mugiwara27]
5 years ago

0

I wonder how others have learnt the different headers, ends, IDAT chunks etc.

Google is always your friend ;)

dloser
5 years ago

1

Learning all the file formats is quite a task… ;) Just like @feuerstein**, I just look up what I need when I need it.

It is very useful to learn to read such specification. It could be helpful have some actual files for reference and perhaps even making your own parser for them. PNG is actually a very nice and easy format for this, I’d say. Not all formats are that nice.

These specification typically have to be very precise, or the format is not well-defined. So there are a lot of details, which might be overwhelming. But if you just try to find some entry point (for example the general file format or a header) and look up things as you need them, it’s not really that hard after you get used to it. For most purposes you don’t need to understand all details, so you typically you just need to know that there are some bits here and there so you can read them and then ignore them.

If you have any specific questions, you can always ask them.

As for the CRC of the PNG image, there is none stored. PNGs consist of chunks, each of which does have a CRC, but there is no overall one.

fred [feuerstein]
5 years ago

0

That was nice2read @dloser +1

You must be logged in to reply to this discussion. Login
1 of 7

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss