logoalt Hacker News

tkottoday at 7:13 PM2 repliesview on HN

I know nothing about writing an image editor or graphics programming but maybe someone here can fill me in - would it be more or less difficult ("would it take more or less tokens" is probably the right question to ask these days) to replace the Windows-specific APIs with cross-platform alternatives (I guess Skia instead of Direct2D and something like Avalonia or Uno instead of Win32-based UI?) instead of re-implementing Direct2D?


Replies

sandreastoday at 9:21 PM

Seems that it is doable:

https://github.com/PixiEditor/PixiEditor

However, I think without having the burden of legacy code and APIs it is a bit easier to accomplish. Probably paint.net has been targeting Windows platforms from the beginning and making it "Linux compatible" has not been a big effort but more a side effect of fixing some stuff and wine generally being awesome.

I personally would love to see commercial editors like Affinity Studio targeting Linux. While solutions like Krita and Gimp are great, it did not really click for me. I'm using Gimp, but somehow I often find myself seeking for how to do easy tasks that should be more intuitive.