<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Low quality in background image.</title>
		<link>http://www.allegro.cc/forums/view/611454</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 17 Nov 2012 11:33:56 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Why the background image quality is reduced?<br />I use this code:</p><p>    al_draw_scaled_bitmap(picture, 0, 0, pw, ph, 0, 0, 1280, 800, 0);</p><p>The image has a good quality when displayed with a viwer.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (coder123)</author>
		<pubDate>Sat, 17 Nov 2012 11:22:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Different scaling methods. The default is a Point/Nearest Neighbor scale. To use something similar to what an image viewer would use, do this:</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/ALLEGRO_STATE"><span class="a">ALLEGRO_STATE</span></a> state<span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_store_state"><span class="a">al_store_state</span></a><span class="k2">(</span><span class="k3">&amp;</span>state, ALLEGRO_STATE_NEW_BITMAP_PARAMETERS<span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_set_new_bitmap_flags"><span class="a">al_set_new_bitmap_flags</span></a><span class="k2">(</span>ALLEGRO_MIN_LINEAR <span class="k3">|</span> ALLEGRO_MAG_LINEAR<span class="k2">)</span><span class="k2">;</span>
al_load_bitmap...
<a href="http://www.allegro.cc/manual/al_restore_state"><span class="a">al_restore_state</span></a><span class="k2">(</span><span class="k3">&amp;</span>state<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 17 Nov 2012 11:33:56 +0000</pubDate>
	</item>
</rss>
