<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - bryanlyman</title>
<link>http://snipplr.com/users/bryanlyman/language/c-sharp/tags/media</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 10:44:52 GMT</pubDate>
<item>
<title>(C#) Presentation Framework Imaging Classes Gray-Scale Example (loading, drawing, encoding)</title>
<link>http://snipplr.com/view/27700/presentation-framework-imaging-classes-grayscale-example-loading-drawing-encoding/</link>
<description><![CDATA[ <p>You must include these DLL references in your vsweb or vscode project:\r\nPresentationCore,\r\nPresentationFramework,\r\nWindowsBase. \r\nNotice how I am manipulating the RGB values of each pixel, this is the power of these classes. The Drawing classes have the pixel drawing capabilities to draw lines and such already written for you, but handling a grayscale byte for byte is faster than relying on their other classes. I also chose to load and encode as PNG, but they have loaders and encoders for other file types as well that work the same way.</p> ]]></description>
<pubDate>Thu, 04 Feb 2010 12:51:39 GMT</pubDate>
<guid>http://snipplr.com/view/27700/presentation-framework-imaging-classes-grayscale-example-loading-drawing-encoding/</guid>
</item>
</channel>
</rss>