<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/rabbit-proxy/patches/" rel="alternate"/><link href="https://sourceforge.net/p/rabbit-proxy/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/rabbit-proxy/patches/</id><updated>2005-10-03T16:00:16Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Add ability to convert images to any type</title><link href="https://sourceforge.net/p/rabbit-proxy/patches/1/" rel="alternate"/><published>2005-10-03T16:00:16Z</published><updated>2005-10-03T16:00:16Z</updated><author><name>Dan Nelson</name><uri>https://sourceforge.net/u/dnelson/</uri></author><id>https://sourceforge.net1569aca96a0ca89909e4f5271c807a1b365e3941</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, convertImage hardcodes a Content-Type of&lt;br /&gt;
image/jpeg when it shrinks an image.  But it would be&lt;br /&gt;
convenient to be able to do things like gif-&amp;gt;png,&lt;br /&gt;
256-color-gif -&amp;gt; jpeg, etc.&lt;/p&gt;
&lt;p&gt;The attached patch allows this by checking for a&lt;br /&gt;
&amp;lt;basename&amp;gt;.type file after the convert script runs.  If&lt;br /&gt;
the .type file exists, it is assumed to contain the&lt;br /&gt;
Content-Type for the &amp;lt;basename&amp;gt;.c file.&lt;/p&gt;
&lt;p&gt;It also fixes a buglet where if the convert script&lt;br /&gt;
failed and left a 0-byte &amp;lt;basename&amp;gt;.c file,&lt;br /&gt;
convertImage would treat it as a successful convert and&lt;br /&gt;
pass a 0-byte "image" to the user.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>