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
-
guangzhe_yue
- Posts: 6
- Joined: 2016-03-21T00:11:24-07:00
- Authentication code: 1151
- Contact:
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
- Contact:
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-
guangzhe_yue
- Posts: 6
- Joined: 2016-03-21T00:11:24-07:00
- Authentication code: 1151
- Contact:
Re: convert tif to png
You're right! Thank you!
Who is online
Users browsing this forum: Bing [Bot] and 1 guest