<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Code The World — Exif thumbnail]]></title>
		<link>https://codetheworld.com/viewtopic.php?id=17</link>
		<atom:link href="https://codetheworld.com/extern.php?action=feed&amp;tid=17&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Exif thumbnail.]]></description>
		<lastBuildDate>Sun, 15 Jun 2008 02:58:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Exif thumbnail]]></title>
			<link>https://codetheworld.com/viewtopic.php?pid=24#p24</link>
			<description><![CDATA[<p>This snippet shows how to extract the EXIF thumbnail of a picture. <br /></p><div class="codebox"><pre><code>// file to read
$file = &#039;test.jpg&#039;;
 
$image = exif_thumbnail($file, $width, $height, $type);
 
// width, height and type get filled with data
// after calling &quot;exif_thumbnail&quot;
 
if ($image) {
    // send header and image data to the browser:
    header(&#039;Content-type: &#039; .image_type_to_mime_type($type));
    print $image;
}
else {
    // there is no thumbnail available, handle the error:
    print &#039;No thumbnail available&#039;;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (hobano)]]></author>
			<pubDate>Sun, 15 Jun 2008 02:58:48 +0000</pubDate>
			<guid>https://codetheworld.com/viewtopic.php?pid=24#p24</guid>
		</item>
	</channel>
</rss>
