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

How to process bmp pictures with libvips #1528

Closed
LebronCurry opened this issue Jan 15, 2020 · 5 comments
Closed

How to process bmp pictures with libvips #1528

LebronCurry opened this issue Jan 15, 2020 · 5 comments
Labels

Comments

@LebronCurry
Copy link

For example:
vipsthumbnail test.bmp -s 200x200 -o out.jpg
But it is not available now.

@jcupitt
Copy link
Member

jcupitt commented Jan 15, 2020

Hello, libvips uses ImageMagick to load BMP files. It should work, as long as you have IM enabled.

@LebronCurry
Copy link
Author

Hello, I use this command to compile:
./configure --with-magickpackage=GraphicsMagick
Then display:
Magick package: GraphicsMagick
Magick API version: magick6

But still not:
vipsthumbnail: unable to thumbnail 0002.bmp
VipsForeignLoad: "0002.bmp" is not a known file format

@jcupitt
Copy link
Member

jcupitt commented Jan 15, 2020

I guess there's something strange about GraphicsMagick. I'll have a look.

jcupitt added a commit that referenced this issue Jan 15, 2020
graphicsmagick, in some configurations, needs to be told to init the
various loaders.

Thanks @LebronCurry

See #1528
@jcupitt
Copy link
Member

jcupitt commented Jan 15, 2020

It seems GM needs to be told to init the various loaders, at least in some configurations.

It seems to work for me now. This improvement will be in 8.9.1.

Thanks for reporting this!

@LebronCurry
Copy link
Author

Ok,thank you for your answer.

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

2 participants