Update
You know how on the old site the example output for the program were all resized and processed in another program? Well, I’ll never have to do that again. Here’s some more samples, once again actual untouched output but this time the output image has first been resized to 75% by the program. Click:
I need to work out a nice interface to do it (possibly on a new dialog?), but it didn’t take much code and worked far better then I hoped.
Update
- Calculating accurate width and height for a font - done*
- Save as an image - basic saving done (will eventually be able output a resized image in the program)
- Register sourceforge project - done
* - In C++Builder I just needed to call a function, literally one line of code. In dotNET after several days of experimenting, I eventually managed it by wrapping several API functions. Sometimes I wonder why I switched.
Update
The problem with the new conversion code has been fixed and the output is looking very nice. If I could have found it before spending several days porting the original code it would have been even better.
Finished the code to apply 3×3 convolution matrices to the output image, and replaced the old sharpening code with a matrix. Eventually the user will be able to enter a custom matrix to be used (i.e. for blurring/alternate sharpening/edge detection/mean removal etc). I’ve also got an unsharpening mask working, but it’s a little disappointing (2xoriginal - blurred, right?).
Aside from that, there’s lots of little things done that are hardly worth mentioning (drag drop image onto the form/executable, resizeable form so you can go full screen or use it in 800×600 mode, validation…)
Update
Finally got .NET working properly again, but I’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’ll be able to get it working after a couple of more days banging my head against the monitor. Fingers crossed, and we’ll cross platform support right from the start.
Anyway, program-wise I’ve changed the GUI layout (again), and I’m getting to the stage where I’m more or less happy with the design.
Update
The new picturebox is nearly finished. Just need to add in one more thing which will greatly increase the drawing speed for large images.
FXCop compliance is just about done so the code is nice and tight.
As a bonus it’s forced me to add the framework for localization. Once the program is far enough along it’ll be easy to add other languages.
Enabled XP styles, so the program looks all nice and fancy.
To do next:
Port the conversion code.
Selection of an area of the image - Will probably add it into the new PictureBox control.
Come up with a better way for the user to change brightness/contrast values. Probably writing a custom version of the vertical scroll bars to add the current value and display it with some nice graphics.
Removal of FormText and redesign of the main form to add the converted text onto a new tab.
1 User Commented In " Update "
.NET is a complex beast (why?), but this is already now better than any other ASCII picture generation program!
Great Art! IT IS GOOD!

