How can the output of a PHP image script be embedded into an HTML page?

To embed the output of a PHP image script into an HTML page, you can use the `<img>` tag with the `src` attribute pointing to the PHP script. The PHP script should output the image content with the appropriate headers. This way, the image will be displayed on the HTML page just like any other image.

&lt;?php
// PHP image script (image.php)
header(&quot;Content-type: image/jpeg&quot;);
$image = imagecreatefromjpeg(&quot;image.jpg&quot;);
imagejpeg($image);
imagedestroy($image);
?&gt;

&lt;!-- HTML page --&gt;
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;PHP Image Embed&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;img src=&quot;image.php&quot; alt=&quot;Embedded Image&quot;&gt;
&lt;/body&gt;
&lt;/html&gt;