Rework the color space support.

Start work on PNG file reader.
This commit is contained in:
Michael R Sweet
2021-06-05 11:28:32 -04:00
parent 3a133bd1c0
commit 1ea2b7514a
6 changed files with 469 additions and 255 deletions

View File

@ -468,10 +468,10 @@ pdfioDictSetArray(pdfio_dict_t *dict, // I - Dictionary
bool // O - `true` on success, `false` on failure
pdfioDictSetBinary(
pdfio_dict_t *dict, // I - Dictionary
const char *key, // I - Key
unsigned char *value, // I - Value
size_t valuelen) // I - Length of value
pdfio_dict_t *dict, // I - Dictionary
const char *key, // I - Key
const unsigned char *value, // I - Value
size_t valuelen) // I - Length of value
{
_pdfio_value_t temp; // New value