18 Commits

Author SHA1 Message Date
marcogiuntoni a39b2bd253 Fix ambiguous -P/-p option conflict: rename par-archive flag to -x
McMaster.Extensions.CommandLineUtils treats short option names case-insensitively,
so -P (ParArchive) collided with -p (IsParallel), crashing on startup with
InvalidOperationException. Renamed -P|--par-archive to -x|--par-archive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 01:04:07 +02:00
marcogiuntoni 94f3fab41c Update packages, fix CLI entry point, add parallel within-archive compression (-P)
- Updated 10 NuGet packages: SharpCompress 0.49.1, Magick.NET-Q8-x64 14.14,
  System.Drawing.Common 10.0, itext 9.6, Imazen.WebP 11.0, McMaster 5.1,
  iTextSharp 5.5.13.5, Imageflow 0.15.1, Magick.NET.SystemDrawing 8.0.23
- Fixed missing OnExecuteAsync -- CLI was throwing InvalidOperationException on launch
- Added -w|--new-webp flag (Imageflow encoder path; benchmarked consistently slower)
- Added -P|--par-archive: parallel image compression within each archive
  Batched 3-phase design: sequential read -> Parallel.For (ProcessorCount/2 threads)
  -> sequential write; ordering guaranteed by indexed slots; ~4-5x measured speedup
- Added par_archive to ProcessorFlags
- Added CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 00:48:54 +02:00
marcogiuntoni 7661cf506d Added dispose image to release memory 2025-12-12 15:59:41 +01:00
marcogiuntoni c58f13d77a Updated projects to newer libraries
Using flags instead of dictionary
2025-12-12 15:53:19 +01:00
Marco Giuntoni 4cc0732a8a merge push 2025-03-27 19:08:25 +01:00
Marco Giuntoni 89812c7fa6 Compressor based on compressor-core 2025-03-27 19:01:22 +01:00
marcogiuntoni 26c1b4124e Merge 2025-01-23 12:57:06 +01:00
marcogiuntoni 5152a87ffa V3.x
Moved functionalities to library iMGcompress-core
2025-01-23 12:53:22 +01:00
Marco Giuntoni c6c46775c4 Temporarily disabled FFMPeg to allow compile Release in OFFICE 2024-12-18 16:31:07 +01:00
marcogiuntoni 87b7ef4fdf Changed readme.md 2024-08-28 23:39:20 +02:00
marcogiuntoni da112b0ff9 Version 2.1.0 - (28/08/2024)
Completed support for ZEBRA PRN files, generate image and base64 for prn and image. Using URI format for base64 files
2024-08-28 23:33:52 +02:00
marcogiuntoni e311b31daa Added JPEG compression
Added URI header before BASE64 images
2024-08-28 19:11:09 +02:00
marcogiuntoni 832b1abd76 New Project configuration PROD in debug
Added support for Zerbra PRN fiels to be converted to image and imported in PIN4ProdCtrl DB
Video Compression (TDB)

        //string progVersion = "Version 2.0.1 - (12/08/2024)";
        // Added copy of non image files with same name

        string progVersion = "Version 2.0.2 - (27/08/2024)";
        // Added support for ZEBRA PRN files, generate image and base64 for prn and image.
2024-08-27 09:56:45 +02:00
Marco Giuntoni a47e881432 Added option to copy all non compressed files
Added support for BMP files
2024-05-16 17:53:27 +02:00
Marco Giuntoni 035652d292 Removed memory print 2024-05-07 17:37:57 +02:00
Marco Giuntoni 4353c4ce98 Added Compression statistics report in every run
QqAdded support for reading PPM PixelMap image files.
2024-04-20 13:14:52 +02:00
Marco Giuntoni 5473d2170f Program - Added support for TIF files 2024-03-10 01:20:22 +01:00
Marco Giuntoni b73c859b94 code sources 2024-03-01 16:05:06 +01:00