Added gAMA chunk functionality for gamma correction encoding as per PNG specification.