-
1 Attachment(s)
I have compiled a new version of my character enhancement program. It does not have any new features but the actual "enhancement" looks better. Coming soon in Version 1.6:
x2 (320x240->640x480) enhancement
x3 (320x240->960x720) enhancement
x4 (320x240->1280x960) enhancement
-
LMAO! That looks exactly (the enhancement that is) like the 'algorithm' I recently made... :D (only your code works already, while mine still has some bugs, although it took my code 5 seconds for something yours took 50 seconds, but I guess your code is a little bit "smarter")
Anyways, good job!
-
Well, I'm using Get & SetPixelV, I'll put in GetDIBits and stuff WHEN I learn how to use them.
-
Hehe, I'm using GetPixel and SetPixel too, but I think it just a matter of how you loop trough the picture. Anyways, you're program does a much better job at this point (although I wished you'd use something like a progressbar or at least don't freeze the window).
-
I tried progbar but it makes it go 1/2 speed and so does adding doevents to the loop...
-
That's right, but at least you know that the program is still working and it didn't crash...
Oh, one last thing though, when I press the smooth button and it says it finished smoothing, the pictureboxes (the 2 smaller ones at the top) won't display anything until I drag them off the screen and force them that way to refresh. Did you use Picture1.Refresh after drawing while having AutoRedraw set to true?
-
That's what the "Refresh Picboxes" commandbutton is for... :rolleyes: :P
-
Now I feel really stupid... :)
No wait, I feel good again, the left picture now refreshes, but the middle one (the one with "128x128 smoothed" below it still won't refresh until I force it to (the dragging out of the screen thing)...
-
looks pretty good this time sas! but you still haven't solved the problem with inner corners?
-
nah, i cant cause it works like:
Code:
BBBBB
BRGRB
BGGGB
BRGRB
BBBBB
B=pure black
R=pure red
G=pure grey
Actaully, come to think of it, this should work, I will see about this.