<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ascgen dotNET &#187; visual studio</title>
	<atom:link href="http://ascgendotnet.jmsoftware.co.uk/tag/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>http://ascgendotnet.jmsoftware.co.uk</link>
	<description>Image to Text Software</description>
	<lastBuildDate>Tue, 23 Mar 2010 13:51:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Future of the Ascgen</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/future-of-the-ascgen</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/future-of-the-ascgen#comments</comments>
		<pubDate>Thu, 26 Mar 2009 14:03:21 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ascgen]]></category>
		<category><![CDATA[coderush]]></category>
		<category><![CDATA[refactor]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://ascgendotnet.jmsoftware.co.uk/?p=134</guid>
		<description><![CDATA[It has been a while now, but since Christmas I&#8217;ve been back working on the code. The entire code base has been cleaned (with the help of these + CodeRush and Refactor!), the whole design is being improved, and lots of little bugs have been fixed. It&#8217;s already massively different and far more readable then [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a while now, but since Christmas I&#8217;ve been back working on the code.</p>
<p>The entire code base has been cleaned (with the help of <a href="http://www.jmsoftware.co.uk/blog/things-i-cant-code-without-in-visual-studio">these</a> + CodeRush and Refactor!), the whole design is being improved, and lots of little bugs have been fixed. It&#8217;s already massively different and far more readable then before. I&#8217;m keeping the change log up to date with the code in the <del datetime="2009-11-03T13:58:47+00:00">SVN</del> CVS: <a href="http://ascgendotnet.jmsoftware.co.uk/changelog">http://ascgendotnet.jmsoftware.co.uk/changelog</a></p>
<p>The next release will be Ascgen dotNet version 2.0.0 (or to make things easier, Ascgen 2.0). I don&#8217;t know when it will be ready, it just depends on whether I want to release something functionally almost identical to the current version, or if I go forward with some new features.</p>
<p>The main new thing I want to add is a new method of conversion which will be available in addition to the current ones. It&#8217;s for fixed width fonts only, and gives a much better output for line art style images.</p>
<p>Also, I don&#8217;t know if I&#8217;ll keep up with this, but: <a href="http://twitter.com/ascgen">http://twitter.com/ascgen</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Ffuture-of-the-ascgen&amp;linkname=Future%20of%20the%20Ascgen"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/future-of-the-ascgen/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ascgen dotNET 0.9.5 released &#8211; Dithering and more</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/ascgen-dotnet-095-released-dithering-and-more</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/ascgen-dotnet-095-released-dithering-and-more#comments</comments>
		<pubDate>Fri, 21 Dec 2007 18:34:22 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[ascgen]]></category>
		<category><![CDATA[dithering]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://ascgendotnet.jmsoftware.co.uk/ascgen-dotnet-095-released-dithering-and-more</guid>
		<description><![CDATA[** Download it here ** Internal design changes, and some cool new stuff. Dithering Thanks to an great idea sent to me through sourceforge, the program now comes with the ability to run a dithering filter over the output. Why would you want this? Well, the text output is like having an image with a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sourceforge.net/project/showfiles.php?group_id=133786&#038;package_id=146945&#038;release_id=563340">** Download it here **</a></p>
<p>Internal design changes, and some cool new stuff.</p>
<p><strong>Dithering</strong><br />
Thanks to an great idea sent to me through sourceforge, the program now comes with the ability to run a dithering filter over the output.</p>
<p>Why would you want this? Well, the text output is like having an image with a small palette of colours. Adding noise to the output helps to blend the different greyscale colours together and produces a result that is (hopefully) more pleasing the eye. There&#8217;s also a random element which weights the dithering and helps hide the pattern.</p>
<p>Check out the <a href="http://en.wikipedia.org/wiki/Dithering#Digital_photography_and_image_processing">wikipedia</a> article for more information on the theory behind this topic.</p>
<p><strong>Translation file changes</strong><br />
The program will now automatically load a translation file if one (and only one) is in the same directory as the executable. The filename has to be in the format <em>translation.*.xml</em> with * being the <a href="http://msdn2.microsoft.com/en-us/library/ms533052.aspx">language code</a> (although at the moment it doesn&#8217;t matter what you put there). For an example, here&#8217;s the American translation file: <a href="http://ascgen2.cvs.sourceforge.net/*checkout*/ascgen2/ascgen2/translations/translation.en-us.xml">translation.en-us.xml</a></p>
<p>The full list of untranslated strings is here:<br />
<a href="http://ascgen2.cvs.sourceforge.net/*checkout*/ascgen2/ascgen2/translation.xml">http://ascgen2.cvs.sourceforge.net/*checkout*/ascgen2/ascgen2/translation.xml</a></p>
<p><strong>Text Widget</strong><br />
The brightness/contrast and levels widgets have been merged into one new widget, using tabs to switch between them and a new control for adjusting the dithering levels.<br />
<span id="more-107"></span><br />
<strong>Visual Studio 2008</strong><br />
The codebase has been moved to the new <a href="http://www.microsoft.com/express/vcsharp/Default.aspx">Visual C# 2008 Express Edition</a>, so you&#8217;ll need that if you want to compile the source code yourself. The executable is still being targeted at .Net 2.0 so hopefully there shouldn&#8217;t be any difference (I can&#8217;t see any good reason to change it to the latest .Net yet).</p>
<p><strong>Full change log:</strong><br />
<code>Fixed extra characters being added to colour rtf files in some font sizes<br />
Added automatic loading of a translation file (translation.?.xml) if one is present<br />
Added a basic dithering filter to the output<br />
Changed Ascii filters to implement an interface rather then inheriting a class<br />
Added specialized interfaces for the filters<br />
Moved brightness/contrast and levels into one widget<br />
Improved the levels control<br />
Stopped brightness/contrast accepting clicks from anything other than the left mouse button<br />
Stopped brightness/contrast control updating the output twice on reset or image load<br />
Added new control for dithering level and dithering random level to the text widget<br />
Added loading and saving the dithering values to the settings file<br />
Changed text widget to implement the brightness-contrast/levels/dither interfaces<br />
Changed brightness-contrast widget to implement the brightness-contrast interfaces<br />
Made main form access the widgets through their interfaces rather then directly<br />
Moved code development to Visual Studio 2008<br />
Fixed processing the conversion twice during image load</code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Fascgen-dotnet-095-released-dithering-and-more&amp;linkname=Ascgen%20dotNET%200.9.5%20released%20%26%238211%3B%20Dithering%20and%20more"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/ascgen-dotnet-095-released-dithering-and-more/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Beta 6.9 released &#8211; .NET 2.0 REQUIRED</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/beta-69-released-net-20-required</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/beta-69-released-net-20-required#comments</comments>
		<pubDate>Thu, 13 Jul 2006 13:26:31 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[.net 2.0]]></category>
		<category><![CDATA[ascgen]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[toolstrip]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://ascgendotnet.jmsoftware.co.uk/beta-69-released-net-20-required</guid>
		<description><![CDATA[Download it here It’ll be at least a few more weeks before I get around to finishing the edit settings form, so here is everything I have so far: Changes: Ported code to .Net framework 2.0 Menu and toolbar changed to MenuStrip and multiple ToolStrips (all rearrangable) Replaced native measure and draw text code with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://prdownloads.sourceforge.net/ascgen2/ascgen2-0.6.9.zip?download">Download it here</a></p>
<p>It’ll be at least a few more weeks before I get around to finishing the edit settings form, so here is everything I have so far:</p>
<p>Changes:<br />
Ported code to .Net framework 2.0<br />
Menu and toolbar changed to MenuStrip and multiple ToolStrips (all rearrangable)<br />
Replaced native measure and draw text code with TextRenderer functions<br />
Added “???? ” ansi ramp and valid characters &#8211; Select “Plain Text (Unicode)” as the type when saving the text<br />
Changed “Close without saving the output?” to “Save the output before closing?”<br />
Added menu icons<br />
Replaced context menus with context menu strips</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Fbeta-69-released-net-20-required&amp;linkname=Beta%206.9%20released%20%26%238211%3B%20.NET%202.0%20REQUIRED"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/beta-69-released-net-20-required/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Update</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/update-7</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/update-7#comments</comments>
		<pubDate>Sat, 17 Jun 2006 13:53:33 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[.net 2.0]]></category>
		<category><![CDATA[toolstrip]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://ascgendotnet.jmsoftware.co.uk/update-7</guid>
		<description><![CDATA[The program has been converted to .net 2.0. The menus have all been replaced with draggable menustrips, and I’m using the Silk icons set for most of the items. The exe size has dropped by about 80k. All but one of the native winapi functions have been replaced with .net functions (for the last I [...]]]></description>
			<content:encoded><![CDATA[<p>The program has been converted to .net 2.0. The menus have all been replaced with draggable menustrips, and I’m using the <a href="http://www.famfamfam.com/lab/icons/silk/">Silk icons</a> set for most of the items. The exe size has dropped by about 80k.</p>
<p>All but one of the native winapi functions have been replaced with .net functions (for the last I need to either find a way to check the text metrics in .net or an accurate method to detect if the font is fixed width).</p>
<p>About having accurate output for all the fonts, and this is a real kicker, they were always accurate. The richtextbox control doesn’t display them correctly. Even in the older version, if the text is all messed up and you save it as an image it will save correctly. Using ANSI characters, some of the fonts display the characters in the control as a square, but still save the output correctly. We will just have to live with it until I sort out a way to fix the output, or write my own text control.</p>
<p>I want to add one more thing before I release the new version (a form to edit the settings), so unless I get distracted by another project it’ll be out sometime this week.</p>
<p><u>Boring technical stuff that I couldn’t find the solution for online and had to workout for myself, part 1</u><br />
You have a toolStripContainer with a MenuStrip and a set of ToolStrips. After spending a couple of minutes neatly lining them all up how you want, you save and compile and everything’s good. Except that every single time you reload the form, or just switch to the code then back to the designer, all the controls are rearranged to fit one per line. EVERY SINGLE TIME.</p>
<p>Here is how to set the control positions at runtime:</p>
<p><code>// First clear the container<br />
toolStripContainer1.TopToolStripPanel.Controls.Clear();<br />
</code><br />
<code>// Then add the strips one by one in _reverse_ order using:<br />
ToolStripContainer1.TopToolStripPanel.Join(ToolStripWhatever);<br />
</code><br />
<code>// Finally add the menustrip:<br />
toolStripContainer1.TopToolStripPanel.Join(menuStrip1);</code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Fupdate-7&amp;linkname=Update"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/update-7/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Update</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/update-2</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/update-2#comments</comments>
		<pubDate>Tue, 08 Feb 2005 15:48:13 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">/?p=11</guid>
		<description><![CDATA[Finally got .NET working properly again, but I&#8217;ve been a little distracted setting myself up a Linux server on a spare computer. I had a quick go at running ASCGEN using Mono, and I think that I&#8217;ll be able to get it working after a couple of more days banging my head against the monitor. [...]]]></description>
			<content:encoded><![CDATA[<p>Finally got .NET working properly again, but I&#8217;ve been a little distracted setting myself up a Linux server on a spare computer.  I had a quick go at running ASCGEN using Mono, and I think that I&#8217;ll be able to get it working after a couple of more days banging my head against the monitor.  Fingers crossed, and we&#8217;ll cross platform support right from the start.</p>
<p>Anyway, program-wise I&#8217;ve changed the GUI layout (again), and I&#8217;m getting to the stage where I&#8217;m more or less happy with the design.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Fupdate-2&amp;linkname=Update"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/update-2/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First Post!&#8230;</title>
		<link>http://ascgendotnet.jmsoftware.co.uk/first-post</link>
		<comments>http://ascgendotnet.jmsoftware.co.uk/first-post#comments</comments>
		<pubDate>Fri, 10 Dec 2004 17:25:48 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[picturebox]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">/?p=2</guid>
		<description><![CDATA[A couple of years after abandoning the ASCII Generator I&#8217;m back working on a new image to text converter. The old version still works, but it&#8217;s so big, bloated and ugly that I&#8217;m no longer able to work on it (and I don&#8217;t even have a copy of C++Builder any more). A few months ago [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years after abandoning the <a href="http://ascgen.jmsoftware.co.uk/">ASCII Generator</a> I&#8217;m back working on a new image to text converter.  The old version still works, but it&#8217;s so big, bloated and ugly that I&#8217;m no longer able to work on it (and I don&#8217;t even have a copy of C++Builder any more).  A few months ago I finally was able to retrieve my old jmsoftware.co.uk domain name, and purchased some web space in a really nice deal from <a href="http://www.hytekhosting.com/">Hytek Hosting</a> and moved the old site over.</p>
<p>After abandoning another project I was working on (don&#8217;t ask), I decided to go back to my roots and see how feasible it would be to port the ASCGEN over, and the answer was &#8216;not very&#8217;.  But&#8230; I did run some tests and not only managed to rewrite the conversion engine in C#, but it was faster and smaller.</p>
<p>So, I decided to rewrite the ASCII Generator in Microsoft Visual C#.NET.  The main reasons for this are that the development time is fast, and I need to learn it.  The main drawback is that you&#8217;ll need the .NET Framework installed (one day it&#8217;ll come as standard in Windows and this won&#8217;t be an issue), but this will be a one time ~20Mb install and then the exe files will be tiny.  I&#8217;m not going to just replicate the old program (which grew into a really weird text editor), this will be a slimmed down SDI application with just the important features.</p>
<p>This will be a development journal only, so don&#8217;t expect any live journal style attention whoring.  I&#8217;ll get around to fixing the design of this blog soon.</p>
<p><strong>The first version of the program will not be released until it&#8217;s ready, and it produces a better output then the old program.</strong></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fascgendotnet.jmsoftware.co.uk%2Ffirst-post&amp;linkname=First%20Post%21%26%238230%3B"><img src="http://ascgendotnet.jmsoftware.co.uk/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ascgendotnet.jmsoftware.co.uk/first-post/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
