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 remote-tracking branch 'origin/main' into pr209-fix
KnifeLemonf82c6d113ad5
diff --cc src/Filee.App/Services/PresetAvailability.csindex 96206811,0859cefa..40541c2f--- a/src/Filee.App/Services/PresetAvailability.cs+++ b/src/Filee.App/Services/PresetAvailability.cs@@@ -15,11 -19,19 +19,18 @@@ public sealed class PresetAvailability(/// </summary>public string? Check(Preset preset, IReadOnlyList<FileFormat> formats){+ if (preset.IsTool)+ {+ if (formats.Count > 0 && formats.All(f => WritableSingleFrameRasterFormats.Contains(f.Id)))+ return null;+ return loc["error.unsupported_source"];+ }+// "Compress into one archive" packs the files as they are, so any file works, even of an unknown type.- if (preset.Archive.CombineIntoOne- && FormatRegistry.FindById(preset.TargetFormat) is { Category: FormatCategory.Archive } archive- && archive.Id != FormatRegistry.Folder)+ if (preset.PacksIntoOneArchive){- return catalog.All.OfType<IFileCombiner>().Any(c => c.CanCombineInto(archive.Id)) ? null : loc["error.no_route"];+ var archive = FormatRegistry.Get(preset.TargetFormat).Id;+ return catalog.All.OfType<IFileCombiner>().Any(c => c.CanCombineInto(archive)) ? null : loc["error.no_route"];}if (formats.Count == 0)diff --cc src/Filee.App/Services/RadialController.csindex ca202c54,a499ae4b..1c9e5c2d--- a/src/Filee.App/Services/RadialController.cs+++ b/src/Filee.App/Services/RadialController.cs@@@ -272,8 -271,16 +272,16 @@@ public sealed class RadialControllerreturn;}+ if (preset.IsTool)+ {+ var near = _window?.Position;+ Close(animate: false);- windows.ShowCropOverlay(files, preset, near);++ windows.ShowCropOverlay(sources, preset, near);+ return;+ }+- log.LogInformation("Converting {Count} file(s) with preset {Preset}", files.Count, preset.Id);- var job = conversions.Start(files, preset, showInToast: false);+ log.LogInformation("Converting {Count} file(s) with preset {Preset}", sources.Count, preset.Id);+ var job = conversions.Start(sources, preset, showInToast: false);if (job is null || _window is null){Close();