초기 커밋: Phase 1 — 레지스트리 기반 컨텍스트 메뉴 + 핵심 변환 파이프라인
- Provider 추상화(IConverterProvider + ProviderCapability) — Available/RequiresExternal/ComingSoon 1급 시민 - 변환 구현: Magick(이미지·RAW·GIF·TIFF), HEIC/HEIF(libheif decode→Magick encode), PDF(PDFium), DOCX(Word COM 또는 LibreOffice 자동 감지) - ComingSoon 스텁: HTML, HWP/HWPX (UI 노출, 컨텍스트 메뉴 등록 자동 제외) - WPF + WPF-UI 4.3 Fluent 2 UI: 메인 창(드래그&드롭, Provider 카드), 변환 창(썸네일·옵션·진행률), 빠른 변환 진행 창, 진단 창 - 단일 EXE에 verb 라우팅: quick / dialog / register / unregister / diagnose / help - HKCU SystemFileAssociations 기반 컨텍스트 메뉴 등록 (Win11 "추가 옵션 표시"에 노출) - README, packaging/ Phase 2 placeholder 포함 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
8fa4a613d7
37 changed files with 2727 additions and 0 deletions
40
src/EverythingToJpeg.Core/ConvertOptions.cs
Normal file
40
src/EverythingToJpeg.Core/ConvertOptions.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
namespace EverythingToJpeg.Core;
|
||||
|
||||
public enum OutputLocation
|
||||
{
|
||||
SubfolderBesideSource,
|
||||
SameFolderAsSource,
|
||||
Custom
|
||||
}
|
||||
|
||||
public enum NameCollision
|
||||
{
|
||||
AppendNumber,
|
||||
Overwrite,
|
||||
Skip
|
||||
}
|
||||
|
||||
public sealed class ConvertOptions
|
||||
{
|
||||
public int Quality { get; set; } = 92;
|
||||
|
||||
public OutputLocation OutputLocation { get; set; } = OutputLocation.SubfolderBesideSource;
|
||||
|
||||
public string SubfolderSuffix { get; set; } = "_jpeg";
|
||||
|
||||
public string? CustomOutputDirectory { get; set; }
|
||||
|
||||
public NameCollision OnCollision { get; set; } = NameCollision.AppendNumber;
|
||||
|
||||
public int? MaxLongEdgePixels { get; set; }
|
||||
|
||||
public int PdfDpi { get; set; } = 200;
|
||||
|
||||
public bool KeepExifWhenPossible { get; set; } = true;
|
||||
|
||||
public bool FlattenTransparency { get; set; } = true;
|
||||
|
||||
public string TransparencyBackground { get; set; } = "#FFFFFF";
|
||||
|
||||
public static ConvertOptions Quick() => new();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue