I want to convert an TIF with multiple paths to an transparent png. That works great if there is only one path in the TIF file.
But sometimes I have some tif files that have more than one path and than the "right" path to clip is marked as clipping path (can be seen in Photoshop as the bold one, screenshot below).
My command selects always the first path found in the tif file, clips it and saves it to a transparent png.
Code: Select all
convert input.tif -alpha transparent -clip -alpha opaque -resize 800x600 final.png
TIF File Download: http://gab3.de/share/tif_file_paths.zip
Photoshop:

Result of my command: http://i.imgur.com/ho726fw.png (ImageMagick selected here "Pfad 2" instead of the marked clipping path "Pfad 4")
Wanted Result: http://i.imgur.com/G0dMvuH.png (made manually with Ps)