Sanjay Tank
Sanjay Tank

Reputation: 113

How to convert compressed tiff image(Group4 - CCITT_T.6) to PNG, using ImageMagick's convert.exe?

I want to convert compressed tiff(Group4 - CCITT_T.6) to PNG format image.

I am using ImageMagick's[6.9.1-10 Q8 x86 2015-07-25 http://www.imagemagick.org] convert.exe for this task.

Link to compressed tiff: https://drive.google.com/file/d/1lsNRRRnjlrzf_Gdc1fArkayn3FgR7L1T/view?usp=sharing

Link to uncompressed tiff: https://drive.google.com/file/d/1CzhafYeRTh2Z8p8CbFiytTi4FsZl2koe/view?usp=sharing

This command works, because tif image is uncompressed:
convert.exe uncompressed.tif -auto-orient -strip test.png

Below command does NOT work becuase tif image is compressed(Group4 CCITT_T.6):
convert.exe CCITT_T.6_Compressed.TIF -auto-orient -strip test.png

Upvotes: 0

Views: 2030

Answers (1)

fmw42
fmw42

Reputation: 53089

Have you tried anything? If so, then please show that.

You can using ImageMagick to convert TIFF to PNG simply by

convert.exe image.tif image.png


or if that fails, then

convert.exe image.tif -type bilevel image.png

If those do not work, the post the error message. Also post a link to your image. You may have to upload it to some free hosting service that won't change the format and put the link here.

Note that there is a Windows convert.exe also. Be sure to use the ImageMagick one or rename it so that there is no confusion.

Upvotes: 1

Related Questions