Commit Graph

20 Commits

Author SHA1 Message Date
Michael R Sweet
2fbf9dc3b2
Fix PNG CRC calculation (doesn't include length for some reason...) 2021-06-10 11:02:55 -04:00
Michael R Sweet
d5ceed0694
Add tRNS chunk support. 2021-06-10 10:57:46 -04:00
Michael R Sweet
01184d0bb5
Add PNG gAMA and cHRM chunk support. 2021-06-09 17:22:22 -04:00
Michael R Sweet
a698b9c1a2
API cleanup, more work on documentation. 2021-06-07 08:34:30 -04:00
Michael R Sweet
c158587070
Fix issues with grayscale PNG images.
Update PNG test page content.
2021-06-06 00:27:33 -04:00
Michael R Sweet
bbd0b854b7
Initial PNG support and test files. 2021-06-05 22:56:05 -04:00
Michael R Sweet
1ea2b7514a
Rework the color space support.
Start work on PNG file reader.
2021-06-05 11:28:32 -04:00
Michael R Sweet
ee5fcc2a4a
Fix Coverity-discovered issues. 2021-06-04 10:56:23 -04:00
Michael R Sweet
caf398d72c
Add pdfioImageGetBytesPerLine API, document its use for image streams. 2021-06-04 10:33:39 -04:00
Michael R Sweet
cc250e7201
Fix more of the text output code (paren handling).
Update unit tests to write lines from README.md.
2021-05-31 21:34:53 -04:00
Michael R Sweet
05df5919cd
Save work on text tests. 2021-05-31 20:51:37 -04:00
Michael R Sweet
82e62ae852
Basic text support. 2021-05-31 19:41:02 -04:00
Michael R Sweet
c4e0421f62
Implement calibrated color support, including constants for a few standard
color spaces and a new color patch test page.

The grayscale test image from CUPS wasn't actually grayscale.
2021-05-31 09:31:00 -04:00
Michael R Sweet
246c2e4b41
Rename as PDFio for consistency.
Add PDFio logo image.

Move documentation to "doc" subdirectory.
2021-05-30 07:10:44 -04:00
Michael R Sweet
10ab119922
Initial documentation. 2021-05-29 21:21:45 -04:00
Michael R Sweet
a18b8fd606
Switch to using double for numbers, since they are also used to record lengths
and other potentially large contents.
2021-05-29 21:16:21 -04:00
Michael R Sweet
94cb915885
Fix xref table - wrong total number of objects.
Update pdfioContentDrawImage to take x/y offsets and sizes.
2021-05-28 22:05:44 -04:00
Michael R Sweet
fb853dadda
Fix some issues with the core file writing code.
Add test images to the unit tests.
2021-05-28 10:41:21 -04:00
Michael R Sweet
128d5f0d42
Implement JPEG image object support. 2021-05-25 16:31:32 -04:00
Michael R Sweet
eb4477ce9b
Add content convenience functions. 2021-05-24 19:33:40 -04:00