Jump to content
Sign in to follow this  
Vindicator209

Read individual pixels & command line

Recommended Posts

Vindicator209

Is there any way I can read individual pixel colors in a .bmp file?

Side question:

How do I make my program do different functions if launched with command line parameters?

Edited by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites
PsaltyDS

Is there any way I can read individual pixel colors in a .bmp file?

Look at the _GDIPlus_* functions in the help file. Also search the forum, this has been posted before, with code.

Side question:

How do I make my program do different functions if launched with command line parameters?

Look at $CmdLine under "Command Line Parameters" in the help file.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×