qwert Posted February 13, 2008 Share Posted February 13, 2008 Does anyone know of a script or utility that can convert a .BMP to a 2-color result (i.e., black and white). I've searched several times, here and on the 'net, but can't come up with any simple solution. Output/input could be either .BMP or .PNG. Thanks in advance for any help. Link to comment Share on other sites More sharing options...
weaponx Posted February 13, 2008 Share Posted February 13, 2008 This was just asked recently...http://www.autoitscript.com/forum/index.ph...mp;hl=grayscale Link to comment Share on other sites More sharing options...
qwert Posted February 13, 2008 Author Share Posted February 13, 2008 Thanks for responding. I've viewed about 20 related posts and can't see anything to use. What I have is a bitmap file on disk and need a small conversion utility that can be run from a command line. Something like: convert.exe bitmap.bmp result.bmp I've downloaded a couple of "packages" that can do it -- but they're each over 4 megabytes. I need something 1/10 that size -- hopefully, less. Link to comment Share on other sites More sharing options...
jpam Posted February 14, 2008 Share Posted February 14, 2008 (edited) http://www.autoitscript.com/forum/index.php?showtopic=38549$pic = LoadExtImage("your_bitmap.bmp") $array1 = InitExtFX($pic) Black_White($hDC, 0, 0, $array1, 127, 1) Edited February 14, 2008 by jpam Link to comment Share on other sites More sharing options...
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