Page 1 of 1

Image Conversion PNG->Tiff

Posted: 2016-05-06T11:10:17-07:00
by AmazingPhrenologist
I have a maybe not so weird image question, based on some reading I've done (eg http://stackoverflow.com/questions/1362 ... y-and-cmyk). I'd like to have other thoughts if anyone has any.

I am converting the following image:
http://imgur.com/mzv3av6

Using the following command:
convert "C:\users\phrenologist\desktop\test\balloon.png" -resize 600x600 -compress zip "C:\users\phrenologist\desktop\test\toTiff.tiff"

When I view the tiff image in the Windows image previewer application, it looks fine. Transparency is maintained, or it is, apparently.
When I view the tiff image in photoshop, the image does not look fine - transparency is not maintained. A black boarder is present.
When I place the tiff image in indesign, the image does not look fine - transparency is similarly not maintained.
Is this a problem with Adobe applications, or a problem with my methodology of conversion? I have tried using the parameter "-transparent blue" but the resulting image did not look any different in any of the above applications.

Re: Image Conversion PNG->Tiff

Posted: 2016-05-06T11:19:04-07:00
by fmw42
PNG has a alpha channel and so your tif will also with your command. You would need to find that in the Photoshop channels panel and it is disabled by default. So you need to turn it on and set the color or transparency. To get the png to have background transparency use the tiff:alpha define:

Code: Select all

convert mzv3av6.png -resize 600x600 -compress zip -define tiff:alpha=associated test1.tif
See
http://www.imagemagick.org/script/formats.php
http://www.imagemagick.org/script/comma ... php#define

Re: Image Conversion PNG->Tiff

Posted: 2016-05-06T11:28:42-07:00
by AmazingPhrenologist
That worked! Thank you for catching something so basic.