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 feature/donut-flip
KnifeLemonb9b15c35946b
diff --cc README.ko.mdindex 00269812,2bf061f4..cf5ff333--- a/README.ko.md+++ b/README.ko.md@@@ -62,9 -62,10 +62,11 @@@## 기능- **커서 옆 도넛**: 키를 누른 채 파일을 끌어 형식 위에 놓으면 끝. 파일에 맞는 형식만 나와요.+ - **브라우저에서 바로**: Chrome, Edge, Firefox, Safari의 이미지, 파일 링크, 다운로드도 똑같이 끌어 놓으면 돼요. 다운로드+ 폴더에 저장하고(변환된 파일만 남길 수도 있어요) 변환해요. 링크는 브라우저 로그인 없이 내려받아요.- **파일 종류마다 툴바**를 드래그로 배치하고, 품질·크기·DPI·PDF 페이지와 압축·동영상·오디오·저장 위치·파일 이름을프리셋으로 정해요.+- **도넛 뒷면**: 도넛이 열려 있을 때 <kbd>Tab</kbd>을 누르거나 마우스 휠을 돌리면 뒤집혀서 덜 쓰는 형식과 도구가 나와요.- **여러 파일을 한 번에** 병렬로 변환해요. 여러 단계가 필요한 변환(HWP → HWPX → DOCX)도 알아서 찾아요.- **자동 변환 폴더**에 들어온 파일을 바로 변환해요.- **다른 방법**: 우클릭 메뉴, 키보드 단축키, 드롭 영역, [`filee` 명령](#명령줄)diff --cc README.mdindex 711d8c8a,c1b1589a..38b0e492--- a/README.md+++ b/README.md@@@ -62,9 -62,11 +62,12 @@@ Filee shows new releases in its menu an## Features- **A donut at the cursor**: hold a key, drag files and drop them on a format. Only formats that fit the files appear.+ - **Straight from the browser**: drag a picture, a link to a file or a download out of Chrome, Edge, Firefox or Safari the same+ way. Filee saves it to your Downloads folder (or keeps only the converted file) and converts it. Links are downloaded+ without your browser's sign-in.- **One toolbar per file type**, arranged by drag and drop, with presets for quality, size, DPI, PDF pages and compression,video and audio, output folder and file names.+- **Two sides to every donut**: press <kbd>Tab</kbd> or turn the mouse wheel while it is open to flip it over to less common formats and tools.- **Many files at once**, in parallel. Routes with several steps (HWP → HWPX → DOCX) are found automatically.- **Watch folders** convert every file that lands in them.- **Other ways in**: the right-click menu, a keyboard shortcut, the drop zone and the [`filee` command](#command-line).diff --cc README.zh-CN.mdindex 03d746d5,7293ca82..ea472af4--- a/README.zh-CN.md+++ b/README.zh-CN.md@@@ -62,8 -62,8 +62,9 @@@## 功能- **光标旁的圆环**,按住按键拖动文件,放到格式上即可。只显示适合这些文件的格式。+ - **直接从浏览器拖**,Chrome、Edge、Firefox 或 Safari 里的图片、文件链接和下载项也能这样拖放。Filee 会保存到“下载”文件夹(也可以只保留转换后的文件)再转换。链接下载时不使用浏览器的登录信息。- **每种文件类型一个工具栏**,拖放排列。质量、尺寸、DPI、PDF 页面和压缩、视频音频、保存位置和文件名都能用预设设置。+- **圆环有背面**,圆环打开时按 <kbd>Tab</kbd> 或转动鼠标滚轮翻过来,背面是不常用的格式和工具。- **一次转换多个文件**,并行处理。需要多步的转换(HWP → HWPX → DOCX)会自动找到路线。- **监视文件夹**,放入的文件自动转换。- **其他方式** 右键菜单、键盘快捷键、拖放区域和 [`filee` 命令](#命令行)。diff --cc src/Filee.App/Services/RadialController.csindex 26a0b670,b9702ff0..a43e5653--- a/src/Filee.App/Services/RadialController.cs+++ b/src/Filee.App/Services/RadialController.cs@@@ -169,8 -173,8 +180,9 @@@ public sealed class RadialController_window.DonutControl.LeaveProgressMode();}_visible = false;+ WatchFlipKey();_grace.Cancel();+ ReplaceWeb(null);var window = _window;// A group about to open (its dwell timer running) must not open on a closing donut.window.DonutControl.CollapseGroup();@@@ -222,16 -226,19 +234,21 @@@return;viewModel.Load(files, clickMode: false);donut.PlayOpenAnimation();+ WatchFlipKey();};- window.Dropped += (hit, files) =>+ window.Dropped += (hit, dropped) =>{_dropped = true;+ WatchFlipKey();if (hit.Kind is DonutHitKind.Segment or DonutHitKind.SubSegment)- Convert(hit.Index, hit.Sub, files.Count > 0 ? files : viewModel.Files);+ {+ Convert(hit.Index, hit.Sub, dropped.Files.Count > 0 ? dropped.Files : viewModel.Files, dropped.Web);+ }else+ {+ dropped.Web?.Dispose();Close();+ }};// One line per drag, to tell "the drag never reached the donut" from "it did but nothing lit up" when someone// reports a donut that doesn't react.@@@ -257,19 -264,8 +274,19 @@@};donut.ActiveIndexChanged += (_, index) => viewModel.ShowHint(index, donut.ActiveSubIndex, donut.IsCenterHot);+ // Drag mode: the flip key and the wheel seen by the global hook (click mode gets them in the focused window).+ triggers.FlipKeyPressed += (_, _) =>+ {+ if (FlipsFromHook)+ donut.Flip();+ };+ triggers.FlipWheelTurned += (_, _) =>+ {+ if (FlipsFromHook)+ donut.FlipFromWheel(Environment.TickCount64);+ };- donut.SegmentInvoked += (_, index) => Convert(index, -1, viewModel.Files);- donut.SubSegmentInvoked += (_, hit) => Convert(hit.Group, hit.Sub, viewModel.Files);+ donut.SegmentInvoked += (_, index) => Convert(index, -1, viewModel.Files, TakeWeb());+ donut.SubSegmentInvoked += (_, hit) => Convert(hit.Group, hit.Sub, viewModel.Files, TakeWeb());donut.CenterInvoked += (_, _) => Close();donut.SegmentContextRequested += async (_, index) => await EditPresetAsync(index);donut.SubSegmentContextRequested += async (_, hit) => await EditPresetAsync(hit.Group, hit.Sub);diff --cc src/Filee.App/Views/RadialWindow.axamlindex e3083d5e,d5ea3823..bd85096f--- a/src/Filee.App/Views/RadialWindow.axaml+++ b/src/Filee.App/Views/RadialWindow.axaml@@@ -27,11 -47,15 +47,20 @@@OuterRadius="{Binding OuterRadius}"HoleRatio="{Binding HoleRatio}"SliceOpacity="{Binding SliceOpacity}"- ReserveSubRing="{Binding ReserveSubRing}" />+ ReserveSubRing="{Binding ReserveSubRing}"+ CanFlip="{Binding CanFlip}"+ CenterHint="{Binding FlipHint}"+ CenterHintWheel="{Binding FlipHintWheel}"+ FlipKey="{Binding FlipKey}"+ FlipWithWheel="{Binding FlipWithWheel}" />+ <!-- Centred on the donut and lifted just above the ring (DonutMenu.RingRadius 36, its stroke and plate). -->+ <Panel HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False"+ RenderTransform="translate(0px, -70px)">+ <Border x:Name="DownloadBadge" Classes="download-badge" Classes.shown="{Binding ProgressJob.IsDownloading, FallbackValue=False}"+ Background="{DynamicResource SurfaceBrush}" BorderBrush="{DynamicResource AccentBrush}" BorderThickness="1"+ CornerRadius="{DynamicResource SoftRadius}" Padding="10,4" RenderTransformOrigin="50%,100%">+ <TextBlock Text="{Binding ProgressJob.DownloadText, FallbackValue=''}" FontSize="12" FontWeight="SemiBold" />+ </Border>+ </Panel></Panel></Window>