TIFF to png conversion Not a TIFF or MDI file

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Ganesha
Posts: 23
Joined: 2014-05-20T06:40:01-07:00
Authentication code: 6789

TIFF to png conversion Not a TIFF or MDI file

Post by Ganesha » 2016-06-30T23:39:35-07:00

I am using the below command to get the first page of tiff as png. Am getting the following error

Code: Select all

convert input.tiff[0] output.png
Error:
convert: Not a TIFF or MDI file, bad magic number 1280 (0x500)
Can anyone help me?

User avatar
fmw42
Posts: 23621
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: TIFF to png conversion Not a TIFF or MDI file

Post by fmw42 » 2016-07-01T00:41:13-07:00

What do you get when you rum

Code: Select all

convert -version
Does the list of delegates include both tiff and png?

What is your platform?

What gives the error? Is it Imagemagick or some other program you are using to try to view the output.pmg?

Can you successfully view your input.tiff?

Did you install Imagemagick from a binary or from source? If the latter, did you install the delegates first?

Post Reply