I'm trying to create a tiff format from png using PHP Imagick class.
The png file contains a transparent background.
$image = "testing.png";
$im = new Imagick();
$im->readImage( $image );
$im->setImageFormat('tiff');
Is there any method I can set the Tag ExtraSamples to EXTRASAMPLE_ASSOCALPHA = 1???
Set TIFF Tag ExtraSamples
Re: Set TIFF Tag ExtraSamples
See http://www.imagemagick.org/script/formats.php for the TIFF tag. Look for the tiff:alpha define.
Re: Set TIFF Tag ExtraSamples
I have tried:
$im->setImageFormat('tiff:alpha=unassociated');
but it doesn't work
$im->setImageFormat('tiff:alpha=unassociated');
but it doesn't work

Re: Set TIFF Tag ExtraSamples
tiff:alpha is a define or option, not a format.
Re: Set TIFF Tag ExtraSamples
I've tried the following:
convert -define tiff:alpha=associated image.tif associated.tif
It works in version 6.6.2 but DOES NOT work in 6.2.8.
Do you know which version is the min to set this option?
convert -define tiff:alpha=associated image.tif associated.tif
It works in version 6.6.2 but DOES NOT work in 6.2.8.
Do you know which version is the min to set this option?