Commit Graph

128 Commits

Author SHA1 Message Date
John Whitington bc297f27fc Scaffolding for JBIG2Lossy 2024-01-10 17:20:08 +00:00
John Whitington 27d34d822d Scaffolding for jbig2lossy 2024-01-10 17:09:49 +00:00
John Whitington da78de8964 Scaffolding for DPI target 2024-01-10 14:19:57 +00:00
John Whitington 9af9c13912 more 2024-01-10 13:55:40 +00:00
John Whitington 3ca5c8bb20 Fixed regression in image_resolution due to Pdfunit change 2024-01-10 13:10:39 +00:00
John Whitington 847f498add First stab at dpi_threshold 2024-01-04 19:31:21 +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 a8603881a8 Close files properly 2024-01-04 10:35:11 +00:00
John Whitington ecb3193c3a Stream restoration after errors 2024-01-03 17:43:51 +00:00
John Whitington 50ada2d74f Tidy 2024-01-02 19:54:06 +00:00
John Whitington 8b169fa502 Implement -percentage-threshold 2024-01-02 19:48:14 +00:00
John Whitington 5ab5822933 Allows -process-images on indexed 2024-01-02 17:54:16 +00:00
John Whitington 35826e45cc Allow -lossless-resample 100 2024-01-02 14:58:35 +00:00
John Whitington 310b5e1a19 more resample work 2024-01-02 14:15:06 +00:00
John Whitington 9703f812d5 Interpolation 2024-01-01 19:09:40 +00:00
John Whitington 597d2a5e16 First functioning resample 2024-01-01 16:58:58 +00:00
John Whitington bb620c8f06 Extend PNG loading to greyscale and 16bpp 2024-01-01 11:46:32 +00:00
John Whitington e31f3c2562 More -process-images 2023-12-31 16:22:22 +00:00
John Whitington 74c1c63cec Fix command for lossless-resample - now to load in 2023-12-31 16:05:27 +00:00
John Whitington 67d1cb604e Scaffolding for -lossless-resample 2023-12-31 11:59:48 +00:00
John Whitington 8859f17584 -process-images-info finished 2023-12-31 11:13:58 +00:00
John Whitington 96a9142542 More -process-images-info work 2023-12-29 22:19:06 +00:00
John Whitington 70e9092e01 towards better -process-images-info 2023-12-29 21:49:56 +00:00
John Whitington c953d0f2a9 Improvements to -process-images-show 2023-12-29 20:09:50 +00:00
John Whitington 5480a08e77 Speed up dumping of PNM files 2023-12-29 17:46:54 +00:00
John Whitington 0857e8ab0c Refactoring of image processing 2023-12-29 17:22:02 +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 94cb707dd9 Only do JPEGing then quality set < 100 2023-12-27 20:01:06 +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 91a7ffd371 Tidying 2023-12-23 17:18:13 +00:00
John Whitington 24fdbd4535 Work around jbig2enc bug 2023-12-23 15:29:13 +00:00
John Whitington aafc455fd2 Tidying up 2023-12-23 14:26:01 +00:00
John Whitington 68312dc177 First successful JBIG2 reprocessing 2023-12-23 14:07:17 +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 57aabda801 prepare for jbig reprocessing implementation 2023-12-22 17:21:23 +00:00
John Whitington b8aaf29420 Scaffolding for 1bpp reprocessing 2023-12-22 16:45:53 +00:00
John Whitington 2955a30c80 Detecting 1bpp images for processing 2023-12-22 16:12:19 +00:00
John Whitington d4b571d089 Separations for lossless to JPEG 2023-12-20 17:12:18 +00:00
John Whitington e76d5bf98f tidying 2023-12-20 12:30:44 +00:00
John Whitington f1b39a0c84 Split up process_images 2023-12-20 12:11:55 +00:00
John Whitington 5631cfd724 Lossless to JPEG CMYK now working 2023-12-19 19:12:56 +00:00
John Whitington 8d64e1efd7 DeviceGray lossless-to-jpeg now working 2023-12-19 18:11:47 +00:00
John Whitington 78dbe17b67 First go at /DeviceGray reprocessing 2023-12-18 22:39:33 +00:00
John Whitington d96b6aabbb Detection for ICCBased colour spaces 2023-12-18 20:50:52 +00:00
John Whitington 16278b03f6 First implementation of -lossless-to-jpeg 2023-12-18 15:13:40 +00:00
John Whitington ec91b49bfe Debugging notes 2023-12-17 17:48:42 +00:00
John Whitington 56800218ff Better debug for Cpdfimage.process_images 2023-12-17 17:45:56 +00:00
John Whitington 81c719aae3 Work on lossless->JPEG 2023-12-17 12:58:32 +00:00
John Whitington 58122d8bae -jpeg-to-jpeg now working 2023-12-07 15:08:34 +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 92aa81f554 First working globals creation 2023-12-04 17:15:15 +00:00
John Whitington 1bc4c57fec Almost there with single page JBIG2globals 2023-12-04 16:58:13 +00:00
John Whitington e928818ccb Scaffolding for JBIG2Globals 2023-12-04 16:32:12 +00:00
John Whitington cd9512a4de Automatic w, h determination for JBIG2 2023-12-04 14:00:45 +00:00
John Whitington 0d97d39c02 First working -jbig2 2023-12-04 13:39:56 +00:00
John Whitington eefbb4f315 JBIG2 extraction done 2023-12-04 11:19:17 +00:00
John Whitington 24f899e346 -list-images finished 2023-11-14 17:47:44 +00:00
John Whitington ab405a7330 First working -list-images-json 2023-11-14 16:45:49 +00:00
John Whitington 29fdfdef95 Beginnings of -list-images implementation 2023-11-14 16:19:47 +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 f729f5ea78 Move functions into cpdfimage.ml for libcpdf 2023-08-14 16:15:11 +01:00
John Whitington 261f121040 Direct PNG output was misinformed 2023-06-14 18:38:26 +01:00
John Whitington c30c49e90e Use new logger 2023-04-25 13:45:56 +01:00
John Whitington 572634cd83 Update to Pdfunits 2023-04-11 13:50:17 +01:00
John Whitington 3af1730e14 more 2023-03-22 19:29:12 +00:00
John Whitington 755a4352b5 Fix to work with CamlPDF new getnum 2022-07-14 14:06:25 +01:00
John Whitington cad98fba51 Remove -w3 and fix deprecations 2022-04-09 14:13:12 +02:00
John Whitington b5e16382e8 more 2022-01-04 12:05:11 +00:00
John Whitington 9bdeccb343 more 2021-12-21 15:25:59 +00:00
John Whitington 4c886d2b13 more 2021-12-21 14:57:42 +00:00