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

Linux #7

Open
ivop opened this issue Oct 10, 2023 · 2 comments
Open

Linux #7

ivop opened this issue Oct 10, 2023 · 2 comments

Comments

@ivop
Copy link

ivop commented Oct 10, 2023

Hi,

The source contains some hints that it once compiled on Linux, but currently it does not because it depends on GdiPlus. Is there a way I don't know about to compile it? I looked into libgdiplus but that doesn't provide any headers.

If not, would it suffice to replace the GdiplusStartup code in main and write a minimal Bitmap class from scratch, or does it need more from GDI? What do you think?

Regards,
Ivo

@mcychan
Copy link
Owner

mcychan commented Oct 16, 2023

I gave up this issue because libgdiplus does not offer a C++ wrapper and it is using pure C.
With GdiPlus and .NET 6, https://github.com/mcychan/nQuant.cs can run under linux.
Or https://github.com/mcychan/nQuantGpp using opencv.

@ivop
Copy link
Author

ivop commented Oct 16, 2023

Thanks for the answer. Your nQuantGpp project is exactly what I was looking for. I somehow overlooked it, thinking nQuantCpp was the only C++ version.

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

No branches or pull requests

2 participants