save or show image string in tiff type
i have a usps lebel which give me encode string in tiff or pdf
i decode this string from base64();
i found there is a method to show gif or jpg
echo '<img src="data:image/gif;base64,'. $author. '"/>';
is there is way to show tiff direct?
in gd library there is function which convert string to image
1-- imagecreatefromstring() /// convert string to image
2---- imagegif() //for disppaly and save the image
is there any function which create image from string and than save into tiff extension?
thanks for Help