Cannot Make libvips working with NetVips and magic support #3781
avaver
started this conversation in
Help wanted
Replies: 1 comment 2 replies
-
Hi @avaver, I'd ask on the netvips issue tracker: https://github.com/kleisauke/net-vips/issues |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have spent 3 days already trying to make NetVips to work with bmp files in linux docker container with no luck so far.
Initially I have been using NetVips with pre-compiled linux-x64 binaries.
Then I realized I need libvips library with magick support, so I have compiled it with
-Dmagick=enabled -Dmagick-package=GraphicsMagick
I used this script https://github.com/kleisauke/libvips-packaging/blob/main/build/lin.sh with my modifications:
also I had to add
-fopenmp
compiler optionIt compiled succesfully, and my test C# program was working fine with my library on Ubuntu.
But when I try to use my compiled library in Debian-based docker container, it fails with
VipsForeignLoad: buffer is not in a known format
I tried to install different packages in container to make it work (like imagemagick, graphicsmagick, even libvips-dev) and I got it working at some point but I didn't note after what step it started working, and now I cannot get it to work again...
So basically my question is what do I need to do to enable BMP support and use it from NetVips. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions