In the following code, I\'m trying to draw two lines: One with a subpixel width (0.5) and the other with 1px width:
var img = new Bitmap(256, 256);
I do not think it makes sense to use subpixel here in this case. You are exporting it to an image file anyway. Try greater width value instead.