Skip to content

convert utility "improper image header" for SigLib generated BMP #372

Open
@rjhenson

Description

@rjhenson

ImageMagick version

6.9.13.25-1

Operating system

Linux

Operating system, version and so on

RedHat EL8

Description

$ convert /tmp/topaz/signature-0.bmp /tmp/topaz/signature-0.gif
convert: improper image header `/tmp/topaz/signature-0.bmp' @ error/bmp.c/ReadBMPImage/712

Steps to Reproduce

Using Topaz SigLib version TopazSigLib-2.1-2076.x86_64 (confirmed latest by Topaz support team) to generate a BMP file followed by this system cmd to convert to GIF:

$ convert /tmp/topaz/signature-0.bmp /tmp/topaz/signature-0.gif
convert: improper image header /tmp/topaz/signature-0.bmp' @ error/bmp.c/ReadBMPImage/712. convert: no images defined /tmp/topaz/signature-0.gif' @ error/convert.c/ConvertImageCommand/3234

Also tried this:
$ convert -define bmp:ignore-filesize=true /tmp/topaz/signature-0.bmp /tmp/topaz/signature-0.gif

3 example BMP files are attached were generated with ImageFileFormat options 0, 1 for compressed, color

signatureZIP.zip

resp.

Images

Zip contains signature0.bmp and signature1.bmp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions