ImageMagick - Convert XV/VIFF to BMP
-
25-07-2021 - |
Question
I would like to convert a Khoros Visualization Image – .XV
or .VIFF
extension – to bitmap. I've tried
convert tree.xv tree.bmp
but it returns a black image, while the original is similar to the following:
I've looked into this ImageMagick description and it apparently supports this format:
The ImageMagick utilities recognize the following image formats:
Name Mode Description
VIFF *rw+ Khoros Visualization image
Is it possible to convert a .XV
image to .BMP
or .PNG
using ImageMagick?
If someone would like to test, download an example of the figure here.
La solution
I was solving the same problem (probably on the same Brodatz dataset :-)). My solution was just using GraphicsMagick.
While ImageMagick returned a black image (same problem as yours), the GraphicsMagick package worked good for me. The usage is very similiar, you just add gm
at the beginning:
gm convert tree.xv tree.bmp
Autres conseils
The bug in ImageMagick will be fixed in version 6.8.7-0.