Skip to content

New: Add BMP and TIFF output formats - #775

Open
huseyincancalti wants to merge 1 commit into
Tichau:integrationfrom
huseyincancalti:feature/bmp-tiff-output
Open

huseyincancalti wants to merge 1 commit into
Tichau:integrationfrom
huseyincancalti:feature/bmp-tiff-output

Conversation

@huseyincancalti

Copy link
Copy Markdown

ImageMagick.NET already handles both formats natively; this wires
them through the OutputType enum, job factory, default settings,
and preset UI following the existing Png/Jpg/Webp pattern.

Closes #77

Changes

  • New OutputType.Bmp / OutputType.Tiff enum values
  • Routed through ConversionJob_ImageMagick (already depends on
    ImageMagick.NET, which supports both formats natively)
  • Registered in the input/output category compatibility map and
    default-preset-settings initializer
  • Added "To Bmp" / "To Tiff" default presets and New-Preset picker
    entries
  • Wired the preset-editor UI to reuse the existing Png settings
    panel (Scale/Rotate/Clamp-to-power-of-2)

Testing

  • Full solution rebuild: 0 warnings, 0 errors
  • Converted a real PNG to both formats through the actual
    conversion pipeline; verified output opens correctly and reports
    the expected format/dimensions via an independent decoder

ImageMagick.NET already handles both formats natively; this wires
them through the OutputType enum, job factory, default settings,
and preset UI following the existing Png/Jpg/Webp pattern.
neosmith20 referenced this pull request in neosmith20/FileRecast Nov 27, 2026
… fixes

Conversions (ffmpeg)
- Fix conversions stuck forever: stdout (-progress) and stderr are now both read
  asynchronously, so ffmpeg can never block on a full pipe (upstream #749 #780 #800, PR #809 #732).
- Watchdog kills a frozen ffmpeg; cancel kills ffmpeg immediately.
- Progress parsed from -progress output (works when the bitrate is unknown).
- Failures detected from the exit code instead of "Error" substrings in the log.
- MP4 drops subtitles it can't store, MKV keeps them; audio from video uses -vn.

GPU encoding
- H.264 / H.265 / AV1 codec choice for MP4 and MKV.
- NVIDIA NVENC, AMD AMF and new Intel Quick Sync encoders for the three codecs.
- New Automatic mode (probes which GPU encoder works) and automatic CPU fallback
  when GPU encoding fails (upstream PR #702).
- Filters run on the CPU, so rotate/scale presets work with every GPU mode.

Upstream PRs/issues merged or reimplemented
- Animated WebP (#804), BMP/TIFF outputs (#775), ALAC (#562), AMR input (#811),
  progressive JPEG (#814), Markdown to PDF/DOCX via Word (#802), multipage TIFF (#812),
  SVG transparency (#808), PDF rangecheck crash (#806), path template tokens (#797/#813),
  Office conversions broken in 2.2 (#778 #779), context menu disappearing (#798).
- Translations: Catalan (#707), Khmer (#761, junk text removed), Italian (#712, XML fixed),
  Chinese (#698 #763). Translations were not loaded at all (#787): fixed the post-build step
  that shipped empty satellite assemblies and added the probing path. Urdu file renamed so it loads.

Other fixes
- Never delete/move the input file when no output was generated; restore the _TEMP renamed input on failure.
- Office: no dialogs, COM objects released, ExportAsFixedFormat fallback to SaveAs.
- Atomic settings save; explorer extension reloads presets when they change.
- Installer: NetOffice and Markdig libraries; unsigned builds when Installer.sign is absent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LMhX9UyqkxoopVuSF4tg9g

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add TIF as output format

1 participant