Popular Post CoePSX Posted May 30, 2008 Popular Post Posted May 30, 2008 Hi I've been working on this script in the last few days, and although it's not so small, I believe it can serve a few coding examples and provide some fun. It's idea is simple: It reads an image, makes it b/w, and using the mouse it draws this image. I made this to draw images on handwrite messages in MSN, but it can be tested in Paint or any other image editor. The image processing is done by capturing the image, and using the GetBitmapBits API to get the pixels' colors. Based on the pixels color and the set sensitivity, it will be either black or white (the black part is the one that is going to be drawn). The drawing was a little bit harder to get working on big images. To make it look more like drawing than like printing, the script draws black areas using recursion. In big areas this would overflow the call stack, so I use an array as a custom stack. The random drawing pattern is my favorite. This is practically useless, but I have a lot of fun using this in MSN. But people don't believe I draw that good...drawingscript.au3mae.bmp v120, Dan_555, Lion66 and 3 others 6 [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
UQOII Posted May 30, 2008 Posted May 30, 2008 its a really good script THANK YOU! maybe optinal things: Not only black but different colors? [center]uqoii.nl[/center]
TnTProductions Posted May 30, 2008 Posted May 30, 2008 nice work! You could add useful things to this like a quick note writer with the paint being on your desktop ( easy place to remember) "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"
BLuFeNiX Posted May 31, 2008 Posted May 31, 2008 that's pretty cool, i like watching it in mspaint http://blufenix.net
GHOSTSKIKDA Posted May 31, 2008 Posted May 31, 2008 Thanks !!!! [center]I LOVE ALGERIA .... ;-)[/center]
James Posted June 1, 2008 Posted June 1, 2008 Impressive! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
ptrex Posted June 3, 2008 Posted June 3, 2008 @CoePSX Very nice !! regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
monoceres Posted June 3, 2008 Posted June 3, 2008 Among the coolest thing I ever saw It would be even greater if it could draw colors in paint Broken link? PM me and I'll send you the file!
monoceres Posted June 18, 2008 Posted June 18, 2008 I have uploaded a video that demonstrates your script in action http://www.youtube.com/watch?v=vmOj-j7HTwY Broken link? PM me and I'll send you the file!
aslani Posted June 20, 2008 Posted June 20, 2008 WOW! ..I mean...WOW! [font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version
logmein Posted May 7, 2010 Posted May 7, 2010 Nice script! [font=arial, helvetica, sans-serif][s]Total USB Security 3.0 Beta[/s] | [s]Malware Kill[/s] | Malware Scanner | Screen Hider | Locker | Matrix Generator[s]AUTO-SYNC 1.0 | MD5 Hash Generator | URL Checker | Tube Take [/s]| Random Text[/font]
Shafayat Posted May 7, 2010 Posted May 7, 2010 Beautifully done. Great work [Not using this account any more. Using "iShafayet" instead]
jiyeow Posted June 12, 2010 Posted June 12, 2010 (edited) Somehow it is not working for me, I've Windows XP. When i tried Autodrawing a picture, lets say for example this one:I come out with this result when i try drawing it on Paint.After analyzing the picture, it is like as if the missing pixels on the right face version are at the left. Also there is a huge block of drawing underneath it for some reason. Edited June 12, 2010 by jiyeow
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now