Page 1 of 1
Cannot convert tif with transparent background to gif
Posted: 2010-07-19T10:18:37-07:00
by maxiong
I am using Image Magick to convert a tif file with a transparent background and a clipping path into a gif hoping that it would come out with a transparent background. however, it's not working and the background is coming out white. any ideas? when viewing the tif file, it clearly shows the background is transparent.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-19T10:30:53-07:00
by fmw42
I had the same problem on some TIF files from a client. see
viewtopic.php?f=1&t=16629. The first one I reported (from my client) did not include the tiff tag (tiff:alpha: unassociated), which seems to be needed for IM to recognize background transparency. I created another test image on my old PS CS and it included that tag and so IM found and included the background transparency.
I don't know if the Photoshop tools have changed the way they report TIFF background transparency in newer version of PS.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-19T10:49:22-07:00
by Drarakel
@maxiong: Can you post a link to your file?
@Fred: I'll write a reply into the other thread.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-20T05:32:32-07:00
by maxiong
I actually figured out what it was. It was the tif file itself. As fmw2 indicated, we just had to resave the tif file with the transparency turned on. It's a save option when you go and save the tif file in Adobe CS3. You just have to remember to check a box that says "Preserve Transparency". I appreciate everyone's help. Thanks so much.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-20T10:08:49-07:00
by fmw42
maxiong wrote:I actually figured out what it was. It was the tif file itself. As fmw2 indicated, we just had to resave the tif file with the transparency turned on. It's a save option when you go and save the tif file in Adobe CS3. You just have to remember to check a box that says "Preserve Transparency". I appreciate everyone's help. Thanks so much.
Yes, that was what I did when I created my test1.tif in PS CS. I saw that checkbox on save. The interesting thing is what happens if you don't check that. When you re-open the file in PS, does it still show transparency? When I do that in PS CS (don't check the transparency on the tif save window), then when I reopen it in PS, it still shows the transparent background. However, now IM does not see the transparency.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-20T15:42:30-07:00
by maxiong
You are correct. If you save the tif file without that box checked, IM will not recognize that there's a transparent background although even if you open that up in PS, it'll still show the transparent background still being there.
Re: Cannot convert tif with transparent background to gif
Posted: 2010-07-20T15:47:20-07:00
by fmw42
maxiong wrote:You are correct. If you save the tif file without that box checked, IM will not recognize that there's a transparent background although even if you open that up in PS, it'll still show the transparent background still being there.
Thanks for the confirmation.
Fred
P.S. This topic is very similar to mine at
viewtopic.php?f=1&t=16629