Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Merge main into feature/pdf-toolkit
cre8ive-marketingc1f6782c53e0
diff --cc docs/ARCHITECTURE.mdindex 1f21a4af,470619bf..e91c8d52--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@@ -48,8 -48,15 +48,17 @@@Each name stays reserved while a conversion holds it. A conversion that fails or is cancelled deletes what it beganwriting, but only at a path that was its alone: nothing was there before and no other conversion was handed thesame name ("Overwrite"). It frees its names and removes an output folder it made if that is left empty.+ A PDF target's finishing (watermark, page numbers, password; `IPdfFinisher`) runs after the last step, on every+ PDF a file became, and once on a merged PDF.+ *Replace the original* (`OutputRule.ReplaceOriginal`, off by default) comes after that, for a finished result of+ the source's own format and extension, or another spelling of it (`.jpeg` / `.jpg`; TXT also covers scripts and+ logs, PPT also `.pps` and `.pot`, so those need the same extension). The result is first+ moved next to the source under a temporary name, then the source goes to the Recycle Bin / Trash+ (`IPlatformServices.MoveToTrash`, in the app and the command line), then the result takes its name. Windows only+ ever recycles (IFileOperation with a sink that refuses a delete it can't recycle). When the source can't go there+ (no Recycle Bin on the drive, a file open elsewhere, a read-only file), both stay and the file's notice says why,+ with a translated reason (`trash.*`). A result "Only if smaller" copied from the source leaves the source alone.+ Watch folders and files from a browser never replace."Merge into one PDF" converts each file to PDF and merges with PDFsharp."Compress into one archive" packs the dropped files, unconverted, with the archive engine (`IFileCombiner`)."Merge videos", "Merge audio" and "Video from images" join the files, in the order picked in the merge orderdiff --cc src/Filee.Core/Conversion/JobQueue.csindex 6216df04,cce81233..70bb2bbf--- a/src/Filee.Core/Conversion/JobQueue.cs+++ b/src/Filee.Core/Conversion/JobQueue.cs@@@ -775,11 -779,9 +793,12 @@@ public sealed class JobQueue : IAsyncDi}// Under "Save as ZIP" the output is still in the work folder: the source copied over it goes into the ZIP.- if (finalOutput && job.Preset.Output.OnlyIfSmaller && inputs.Count == 1 && CopyIfNotSmaller(file.SourcePath, inputs[0]))+ var copiedSource = finalOutput && job.Preset.Output.OnlyIfSmaller && inputs.Count == 1 && CopyIfNotSmaller(file.SourcePath, inputs[0]);+ if (copiedSource)file.NoticeKey = "notice.pdf_not_smaller";+ // Watermark, page numbers, password: on every PDF this file became, from whichever engine.+ if (finalOutput && job.Preset.TargetFormat == "pdf")+ await FinishPdfsAsync(job.Preset, inputs, ct);if (zipResult && inputs.Count > 0)inputs = PackZip(job, file, index, inputs, ct);