DEV Community

DeafMan1983
DeafMan1983

Posted on

Gimp 3.x to GimpSharp ( porting to pure c-sharp )

Hello everyone,

I would like to show how does programming language work if you expect in C or C# which good to create pure gtk4 ( very latest version 4.19.2 ) and I expect that dotnet can bind some libraries of Gtk4 and Glib-2.0 via NativeAot.

I work with Visual Studio Code under Ubuntu 24.04.2 and I feel excited to test with GimpSgarp ( ported from Gitlab Gimo 3,x ) in C#

I have a lot of better implementation like tuple or faked macro functions for C#.
GEnunValue EV(int value, sbyte* value_name, sbyte* value_nick)
Image description

and more... I would like to love to use correct bitmap format like bmp16, bmp24 etc but some game developers argue on Gimp with wrong bitmap format. Example Half-Life or Quake shows error message if bitmap format is invalid that's why I need to add correct bitmap format like on Windows or macOS.

PS why did Gimp use still wrong bitmap format ( bmp8/16 ) with independence? And Half-Life fans discussed me because Gimp is unusable for textures.

I thought they use expensive apps like arrogant Photoshop by Adobe System.

But Linux and Gimp are free but I don't know if I get successful with C# + Gimp = GimpSharp.

Warning I don't support for Windows because I am working and testing with GModule via NativeAot shared libraries with [UnmanagedCallerOnly]and shared libraries.

I hope you understand my porting version with C#

Top comments (0)