add comments
add srgb gamma correction
add srgb gamma check