Commit Graph

735 Commits

Author SHA1 Message Date
John Whitington 8684ec3092 Support for cpdflib getImageResolution 2024-02-07 14:42:38 +00:00
John Whitington 199506b437 Beginnings of -chop-v / -chop-h implementation 2024-02-05 14:38:05 +00:00
John Whitington e3ea45d5e2 Scaffolding for -chop-h, -chop-v 2024-02-05 14:01:16 +00:00
John Whitington ed30ea40c0 Ints -> floats in process-image parameters 2024-02-01 16:38:07 +00:00
John Whitington 22114c1fc4 More work towards -lossless-resample-dpi 2024-02-01 15:22:19 +00:00
John Whitington 319fb8e225 Resolve interface for factor/dpi_target 2024-02-01 13:29:20 +00:00
John Whitington 43b0d54d23 Fix -shift-boxes 2024-01-26 13:17:12 +00:00
John Whitington 5ef5fee0a4 more documentation for v2.7 2024-01-25 17:51:48 +00:00
John Whitington 2232d6ea4e More 2.7 docs 2024-01-25 17:29:08 +00:00
John Whitington b2d931da18 Refine upright warning 2024-01-24 18:40:20 +00:00
John Whitington 128f9361ff Revert UTF8 change 2024-01-24 14:21:11 +00:00
John Whitington 0ea7d25a23 more inline functions 2024-01-23 18:46:09 +00:00
John Whitington f96fb35ab3 more inline functions 2024-01-23 18:37:35 +00:00
John Whitington 787ae85eb9 more inline functions 2024-01-23 18:22:09 +00:00
John Whitington e2590bb3d0 More inline functions 2024-01-23 18:14:00 +00:00
John Whitington 3059b6cb93 more inline functions 2024-01-23 18:09:15 +00:00
John Whitington 88b3f96db1 Inlining some Arg functions 2024-01-23 14:32:31 +00:00
John Whitington 019806ff63 -no-merge-struct-trees -> -no-process-struct-trees 2024-01-23 13:35:49 +00:00
John Whitington 15842dbd36 Adds -shift-boxes 2024-01-22 16:36:37 +00:00
John Whitington 415c172354 Adds -merge-no-struct-trees 2024-01-22 15:53:41 +00:00
John Whitington b43ca58b24 Finish -extract-stream 2024-01-18 16:20:51 +00:00
John Whitington cc08db98d0 Boxes in metadata 2024-01-18 15:42:07 +00:00
John Whitington 3a30496d31 First -obj implementation 2024-01-17 20:10:07 +00:00
John Whitington dfd59fb8a3 Beginning -extract-stream and -obj 2024-01-17 18:37:58 +00:00
John Whitington bb9afb9833 fixmes 2024-01-16 18:13:32 +00:00
John Whitington 6408bd8879 Specify image just by extension 2024-01-16 14:54:45 +00:00
John Whitington c3efb33390 Use new endpage_fast 2024-01-13 17:30:06 +00:00
John Whitington 0234445fc6 Lossy JBIG2 reprocesing finished 2024-01-12 15:00:28 +00:00
John Whitington cfe33f2002 Clarify magick 2024-01-10 18:39:00 +00:00
John Whitington da78de8964 Scaffolding for DPI target 2024-01-10 14:19:57 +00:00
John Whitington ecbccd4567 Plumbing for -proces-images -dpi-threshold 2024-01-04 17:40:15 +00:00
John Whitington 3a39b5497a Scaffolding for dpi threshold 2024-01-04 11:43:27 +00:00
John Whitington f775ae304b more 2024-01-04 11:33:17 +00:00
John Whitington 35826e45cc Allow -lossless-resample 100 2024-01-02 14:58:35 +00:00
John Whitington 9703f812d5 Interpolation 2024-01-01 19:09:40 +00:00
John Whitington 67d1cb604e Scaffolding for -lossless-resample 2023-12-31 11:59:48 +00:00
John Whitington 0857e8ab0c Refactoring of image processing 2023-12-29 17:22:02 +00:00
John Whitington 526cedead9 -utf8 now default 2023-12-28 19:00:21 +00:00
John Whitington 86cd0c3bb7 Add debug output for image processing 2023-12-28 16:18:25 +00:00
John Whitington 707525d8da Extend -list-images 2023-12-28 15:48:30 +00:00
John Whitington 6f3cf112f9 length_threshold working 2023-12-28 11:32:43 +00:00
John Whitington 66cc20b87f Plumbing for length_threshold, percentage_threshold 2023-12-27 19:53:02 +00:00
John Whitington 20b9f59b2f -pixel-threshold 2023-12-24 13:54:21 +00:00
John Whitington fe34a7a752 jbig2enc calls 2023-12-22 21:21:23 +00:00
John Whitington c0c72b8ec4 Plumbing for path_to_jbig2enc 2023-12-22 19:33:10 +00:00
John Whitington b8aaf29420 Scaffolding for 1bpp reprocessing 2023-12-22 16:45:53 +00:00
John Whitington c7dc1cd424 First successful round-trip of JPEGs 2023-12-07 14:54:47 +00:00
John Whitington cc718fdb2c Scaffolding for image round tripping 2023-12-06 12:20:27 +00:00
John Whitington 4e91e9721a JBIG2 global sharing finished 2023-12-05 12:56:56 +00:00
John Whitington 39f5ec1bf3 Duplicate PNG/JPEG/JBIG2 problem fixed 2023-12-05 12:20:03 +00:00
John Whitington 92aa81f554 First working globals creation 2023-12-04 17:15:15 +00:00
John Whitington e928818ccb Scaffolding for JBIG2Globals 2023-12-04 16:32:12 +00:00
John Whitington 0d97d39c02 First working -jbig2 2023-12-04 13:39:56 +00:00
John Whitington 87320f2082 Options for -chop 2023-11-29 10:33:07 +00:00
John Whitington 70961eb692 first resonable working chop 2023-11-20 16:42:00 +02:00
John Whitington f573ba8e09 Beginning chop implementation 2023-11-20 12:53:51 +02:00
John Whitington 04353276f3 Finish skeleton for -chop 2023-11-15 17:34:14 +00:00
John Whitington 6357f8f610 Skeleton for -chop 2023-11-15 17:26:43 +00:00
John Whitington 24f899e346 -list-images finished 2023-11-14 17:47:44 +00:00
John Whitington 53e3d92a81 Scaffolding for -list-images 2023-11-13 17:55:59 +00:00
John Whitington 33c690343c Added -raw option for extract_images 2023-11-10 13:46:52 +00:00
John Whitington 18a222a49f Implement -list-images-used-json / -image-resolution-json 2023-11-09 18:36:41 +00:00
John Whitington 5f69436d73 Skeleton for ListImages 2023-11-09 11:25:19 +00:00
John Whitington 8a1fdc23a4 Rehabilitate -extract-font 2023-11-02 18:49:15 +00:00
John Whitington 05b4201585 Subformats finished and tested 2023-11-01 20:47:52 +00:00
John Whitington c082deacfa Implemented -info-json 2023-11-01 14:55:14 +00:00
John Whitington 45c8213e80 Implement -print-page-labels-json 2023-10-31 17:28:07 +00:00
John Whitington 122285db59 Implement listing of page info in JSON 2023-10-31 16:51:57 +00:00
John Whitington 442acf71cd Implement -list-fonts-json 2023-10-31 16:23:20 +00:00
John Whitington e6c718f367 Scaffolding for extended JSON outputs 2023-10-31 15:50:23 +00:00
John Whitington 42e838e5ce Less noise 2023-10-31 12:25:54 +00:00
John Whitington e7a434f574 First working Spray 2023-10-30 19:10:22 +00:00
John Whitington 08a503be76 First proof of concept for Spray 2023-10-30 18:30:49 +00:00
John Whitington 14ac303523 Coalesce into build_enc() 2023-10-30 17:55:19 +00:00
John Whitington d26e6ed8f1 Machinary for -spray 2023-10-30 16:36:41 +00:00
John Whitington 99a43a24a5 Tidying split_max 2023-10-30 14:21:49 +00:00
John Whitington 3ea4086a0b Finished SplitMax implementation 2023-10-26 17:59:57 +01:00
John Whitington a3745be835 MiB/MB 2023-10-26 17:33:10 +01:00
John Whitington 33eb99fe39 Tidying MaxSplit output 2023-10-26 16:51:54 +01:00
John Whitington f12d62abc4 First working binary search MaxSplit 2023-10-26 16:32:48 +01:00
John Whitington 889874fd37 Working (but not yet efficient) MaxSplit 2023-10-26 15:55:55 +01:00
John Whitington 6b640a128d Beginnings of SplitMax 2023-10-26 13:46:51 +01:00
John Whitington ce952ca070 Command line switch for SplitMax 2023-10-25 18:44:29 +01:00
John Whitington 6c5b138baa Skeleton for SplitMax 2023-10-25 18:15:19 +01:00
John Whitington f35dac6ef8 Version date 2023-10-25 18:04:12 +01:00
John Whitington 131a7a0060 Prevent infinite recursion or multiple processing in matrix change 2023-10-17 15:54:06 +01:00
John Whitington 6f5264ffaf http -> https 2023-10-17 13:43:19 +01:00
John Whitington 82cec86527 Allow embed-std14 to work in cpdflib 2023-10-05 16:45:11 +01:00
John Whitington b21d90f000 First TTF / cpdflibn example working 2023-10-04 15:59:52 +01:00
John Whitington 4482e11916 Scaffolding for loadttf 2023-10-04 15:27:59 +01:00
John Whitington 88c6a12de6 Clean up Cpdfcommand/Cpdfdrawcontrol mutual recursion 2023-10-04 15:07:29 +01:00
John Whitington df85eb1740 Add setting of font to cpdfdrawcontrol 2023-09-27 17:02:22 +01:00
John Whitington 488d3c652e Move text adding and text control into Cpdfdrawcontrol 2023-09-26 17:51:56 +01:00
John Whitington 5a8c137b1b Bump version number 2023-09-19 14:11:37 +01:00
John Whitington a161cd035c Version string for 2.6.1 2023-09-07 14:50:42 +01:00
John Whitington 319f95a94d Begin separation of logic into Cpdfdrawcontrol 2023-09-01 19:09:23 +01:00
John Whitington 08c19e5b2e Expose into cpdflib 2023-08-31 14:52:24 +01:00
John Whitington f729f5ea78 Move functions into cpdfimage.ml for libcpdf 2023-08-14 16:15:11 +01:00
John Whitington e7456b8348 Tidy up -crop / -cropbox documentation 2023-08-03 13:21:24 +01:00
John Whitington 057434fb6a v2.6 documentation 2023-07-27 13:21:15 +01:00
John Whitington 44b51ceb03 Final manual / release dates for v2.6 2023-07-24 12:38:26 +01:00
John Whitington 57931eb911 Document new v2.6 fonts work 2023-07-18 19:52:54 +01:00
John Whitington 7408a79186 more 2023-07-17 16:39:41 +01:00
John Whitington e257c1c62b Tidy up debug 2023-07-17 14:13:24 +01:00
John Whitington 1db9310884 TTF/no default 2023-07-17 13:53:09 +01:00
John Whitington 951a947f43 mixed ttf fonts in -draw 2023-07-17 13:38:35 +01:00
John Whitington 8ded8853f2 Correct TTF fontname from cpdfcommand.ml 2023-07-17 12:40:49 +01:00
John Whitington dcf387d0a0 More draw/font bugfixes 2023-07-14 16:36:13 +01:00
John Whitington 93219ce4a0 debugging draw/font 2023-07-14 16:27:53 +01:00
John Whitington 9753e9fb9b reworking cpdfdraw for new font system 2023-07-14 14:40:59 +01:00
John Whitington c9f2a713d5 Working in new Font/FontPack split in Cpdfdraw 2023-07-14 13:57:00 +01:00
John Whitington 84c7926be6 Rework command line options for TTF font loading 2023-07-14 12:37:57 +01:00
John Whitington 8d46e15a7e First correct -font-ttf with -draw 2023-07-13 15:57:31 +01:00
John Whitington 7d1733b823 Beginning -font-ttf for -draw 2023-07-07 14:34:51 +01:00
John Whitington 0d405404cb Tidying 2023-06-28 15:42:12 +01:00
John Whitington 17aab55a32 Cut for beta 2023-06-27 16:53:16 +01:00
John Whitington 0da78da07c -prerotate for -scale-to-fit 2023-06-27 16:24:41 +01:00
John Whitington 09d0e912ca Deprecate -squeeze-no-recompress 2023-06-21 15:38:32 +01:00
John Whitington 6f345c4b80 Version string 2023-06-19 13:23:10 +01:00
John Whitington 0cc062b302 Remove pdfgraphics to old/ 2023-06-13 14:07:34 +01:00
John Whitington 88b0cdefee Fix up one argument -topleft etc. 2023-06-07 21:52:01 +01:00
John Whitington 65e7bbf68f more 2023-06-07 16:35:26 +01:00
John Whitington 842dd1b6d0 Beginning to document -draw 2023-06-02 16:08:51 +01:00
John Whitington 779f30eea9 more 2023-06-02 13:05:42 +01:00
John Whitington 6bb7106c84 Fix docs for -png -jpeg 2023-06-01 19:10:06 +01:00
John Whitington 5c0ea98266 Better error handling for -png and -jpeg 2023-06-01 14:31:40 +01:00
John Whitington a216723708 Fix permissions for -set-annotations 2023-05-29 13:05:37 +01:00
John Whitington ae2e8d904f more 2023-05-12 19:01:59 +01:00
John Whitington c2f6d5779f more 2023-05-12 15:33:28 +01:00
John Whitington 4e3072803a more 2023-05-11 22:03:47 +01:00
John Whitington 148cde595d more 2023-05-11 21:54:23 +01:00
John Whitington 51b1c8ffce more 2023-05-11 19:18:14 +01:00
John Whitington 5f83c581f7 more 2023-05-11 15:55:48 +01:00
John Whitington 8d49306a70 more 2023-05-10 18:44:45 +01:00
John Whitington 73701b5d7d more 2023-05-10 17:03:53 +01:00
John Whitington 22506a6c4d more 2023-05-10 16:55:22 +01:00
John Whitington 6bc3ada2b2 q/Q/BT/ET by data structure 2023-05-09 14:30:30 +01:00
John Whitington a2628254b8 more 2023-05-09 13:40:38 +01:00
John Whitington 484c30b9ab more 2023-05-09 12:36:45 +01:00
John Whitington 25732b9208 more 2023-05-04 18:57:08 +01:00
John Whitington 7351e73a3f more 2023-05-04 13:53:49 +01:00
John Whitington 5660e4817c more 2023-05-03 19:01:25 +01:00
John Whitington d7b04f0bb0 more 2023-05-03 15:49:14 +01:00
John Whitington 9040630487 more 2023-05-03 14:19:55 +01:00
John Whitington f192a99a35 more 2023-05-03 13:53:48 +01:00
John Whitington 829edb6460 more 2023-05-03 13:43:57 +01:00
John Whitington d0cdba9c1e more 2023-05-02 15:25:16 +01:00
John Whitington 95115786d9 more 2023-05-02 15:04:35 +01:00
John Whitington 64fb6169b9 Text specials 2023-05-02 14:47:18 +01:00
John Whitington 0cfc6f0afd more 2023-05-01 15:56:50 +01:00