Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF Migration #81

Closed
2 of 8 tasks
cyanfish opened this issue Feb 7, 2023 · 1 comment
Closed
2 of 8 tasks

WPF Migration #81

cyanfish opened this issue Feb 7, 2023 · 1 comment
Labels

Comments

@cyanfish
Copy link
Owner

cyanfish commented Feb 7, 2023

Possibly targeted for version 8.0. Benefits include better UI performance in general, hardware acceleration, better image processing performance/quality, and avoiding GDI+ issues (e.g. global locks, lack of thread safety). As Eto supports WPF the migration work only needs to cover custom platform-specific code.

Tasks:

  • NAPS2.Images.Wpf
  • Custom UI components
    • Toolbars
    • Listviews
    • Notifications
    • Misc
  • Worker
    • Ideally use the Win32 API directly instead of WinForms/Wpf, so an eventual migration from .NET Framework will not require an extra 50MB for a 32-bit copy of WinForms/Wpf.
  • Evaluate hardware acceleration
    • Ideally we can find a workaround for the issue of Nvidia thinking anything hardware accelerated is a game and needs fps counters etc.
@cyanfish
Copy link
Owner Author

After re-evaluating WPF and upcoming improvements to Windows Forms (e.g. built-in dark mode support) I've decided the best long-term strategy is to stay on WinForms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant