Probably not a good idea but there is also–
printf '<img src="data:%s;base64,%s"/>', $img_mime_type, encode_base64($img_content);
In reply to Re: Embedding images into HTML-emails as attachements
by Your Mother
in thread Embedding images into HTML-emails as attachments
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |