I want to convert TIF to PNG with the command "convert 1.tif 1.png".It generated 2 files "1-0.png" and "1-1.png",but I want only one.
How can I do?
convert tif to png
-
- Posts: 6
- Joined: 2016-03-21T00:11:24-07:00
- Authentication code: 1151
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert tif to png
Your TIFF file has two layers. So you will get two output PNG files. If you only want the first Tiff layer then use
Code: Select all
convert image.tif[0] image.png
-
- Posts: 6
- Joined: 2016-03-21T00:11:24-07:00
- Authentication code: 1151
Re: convert tif to png
You're right! Thank you!