Commit Graph

528 Commits

Author SHA1 Message Date
492a4f51b2 Allocate stream compression buffer. 2025-02-16 13:20:51 -05:00
44827bac1a Cleanup. 2025-02-16 12:40:39 -05:00
3fad0d6f15 Support xref streams with encrypted output. 2025-02-16 12:35:45 -05:00
aeee24b856 Add xref stream support (Issue #10) 2025-02-15 21:54:16 -05:00
8d72f22efe Add support for 'repairing' damaged PDF files (Issue #45) 2025-02-15 17:26:23 -05:00
77117ac789 Update MD5 code with proper coding style/documentation for this project. 2025-02-15 13:35:54 -05:00
fceb5a807d Update AES code with proper coding style/documentation for this project. 2025-02-15 12:56:27 -05:00
4f123c2a01 Update makesrcdist script to report all issues before exiting and fix major/minor version checks. 2025-02-15 12:30:19 -05:00
c4c8fa6036 Make sure we have all the version numbers in pdfio.h. 2025-02-15 12:25:09 -05:00
9a5c5ec65d Add support for the sRGB chunk in PNG files in addition to the cHRM and gAMA
chunks.
2025-02-14 14:51:06 -05:00
3f4308b68d Add ICC support to PNG files. 2025-02-14 14:37:08 -05:00
9e930a7c5d Add new pdfioFileCreateICCObjFromData API to DLL exports. 2025-02-14 13:23:01 -05:00
afa010cea2 Add ICC color profile support for JPEG files (Issue #7) 2025-02-14 13:22:30 -05:00
c26b200a83 Add missing symbol to DLL. 2025-02-13 19:27:04 -05:00
eff02198ab Clean up pdfioinfo example changes. 2025-02-13 19:25:44 -05:00
5f98c7838c Rename pdfioFileGetModDate to pdfioFileGetModificationDate.
Add pdfioFileSetModificationDate API.

Update DLL exports file.

Update docos and changelog.
2025-02-13 18:56:43 -05:00
4f880bc0c1 Merge pull request #88 from tlaronde/info
Extend by adding pdfioGetModDate and extend the pdfioinfo example
2025-02-13 18:47:28 -05:00
d032483ed4 Merge branch 'michaelrsweet:master' into info 2025-02-12 15:54:47 +01:00
b2fc82f3a8 Update CI dependencies.
Add libpng_native to VC++ projects.
2025-02-12 09:25:57 -05:00
b81d01f319 Fix builds without libpng. 2025-02-11 22:59:23 -05:00
1b35321615 Add PngSuite to testpdfio (Issue #90) 2025-02-11 22:54:59 -05:00
990342f2a5 Add masking, color space, and variable bit depth support (Issue #90) 2025-02-11 22:07:02 -05:00
7f5fc456bc Fix image dictionary for new libpng-based PNG image support (Issue #90) 2025-02-11 20:23:59 -05:00
7c527cc908 Fix pdfio-512.png file. 2025-02-11 20:23:28 -05:00
41d17fc4e3 Update version number in NuGet files. 2025-02-11 20:23:17 -05:00
4e89137689 Use pkg-config for compiler options.
Fix some issues with the image2pdf example code.
2025-02-11 20:22:36 -05:00
e686669b9d Save work on libpng PNG loader (Issue #90) 2025-02-10 21:25:59 -05:00
1e5cc6ffd5 Do cleanup of PNG loading code, in preparation of adding full support (Issue #90) 2025-02-10 15:54:29 -05:00
4f1b373232 Add PngSuite from http://www.schaik.com/pngsuite/ for testing PNG image
support (Issue #90)
2025-02-10 11:04:39 -05:00
6f4bfe107f Refactor pdfioFileCreateImageObjFromData to do the image writing in a separate
function (Issue #90)
2025-02-10 10:28:28 -05:00
5b5de3aff6 Update pdf2txt example to support font encodings. 2025-01-28 14:26:33 -05:00
48fe8d1bc9 Bump version. v1.4.1 2025-01-24 15:31:31 -05:00
a4026bfe00 Prep for release. 2025-01-24 15:30:59 -05:00
1e945cb750 Add LICENSE files to example install list. 2025-01-24 14:44:44 -05:00
4cb4ceaadd Update docos with fixed codedoc. 2025-01-24 14:42:41 -05:00
cca7383c73 Fix support for UTF-16 string values in dictionaries (Issue #92)
Specifically to support Unicode Title and Author values.
2025-01-24 10:43:41 -05:00
6c68b9fa5a Add URLs and copyrights for Code 128 font and ProPhoto ICC profile (Issue #91) 2025-01-24 09:56:51 -05:00
dd7ed67ec1 Update makesrcdist to validate CHANGES.md. 2025-01-23 15:34:43 -05:00
9e2f3aba10 Fix reading of compressed object streams (Issue #92) 2025-01-23 15:27:22 -05:00
fca4dbd395 Make sure we have license files for the example fonts (Issue #91) 2025-01-23 13:03:23 -05:00
41ac7a0b4b Changelog. 2025-01-18 09:45:29 -05:00
5fc571b711 Merge pull request #89 from vlasovsoft1979/master
Fix undefined behavior in _pdfioFileSeek
2025-01-18 09:42:58 -05:00
acf27d29c6 Fix undefined behavior 2025-01-18 13:56:25 +03:00
8b2b013b36 Extend by adding pdfioGetModDate and extend the pdfioinfo example
When exploring a PDF, it may be convenient to have the typical
informations delivered by some "Document Properties"---and some more
about the MediaBox(es).

So just add the function to get the ModDate and extend the
pdfioinfo example as an example of what the library do have
and pdfioinfo as a debugging tool also.

Signed-off-by: Thierry LARONDE <tlaronde@kergis.com>
2025-01-18 11:25:36 +01:00
026f653e07 Fix loading of last 1024 bytes for small PDF files (Issue #87) 2025-01-17 16:58:33 -05:00
3bc041e6d3 Delay loading of the Info object and clean up the pdfioinfo example (Issue #87) 2025-01-17 16:50:30 -05:00
fbd61d1fe9 Bump copyright and version, changelog for example makefile fix. 2025-01-10 14:54:11 -05:00
ee2794199c Merge pull request #86 from tlaronde/master
examples/Makefile: libm is not added by default by all
2025-01-10 14:50:44 -05:00
31c3400f23 examples/Makefile: libm is not added by default by all
-lm has to be added for system/compilers that don't add the lib by
default (the case on NetBSD).
2025-01-10 20:18:06 +01:00
6d65a609e5 Update documentation and examples makefile. v1.4.0 2024-12-26 15:12:56 -05:00