when PNG_WRITE_SUPPORTED is not enabled. There was no good reason for this restriction, and PNG readers can gain a speed benefit in reading large iCCP chunks by increasing png_ptr->zbuf_size via these functions.
due to popular demand.
as an aid to migration to 1.4.x