#123210 - king501 - Mon Mar 26, 2007 7:07 am
I would like to make some very basic utilities to deal with pixels. I have experience with C and C++.
What should I learn to have the necessary knowledge to build some tools like a mini map editor or palette manager?
Thanks! :D
#123215 - sgeos - Mon Mar 26, 2007 8:28 am
Do you want to make an interactive GUI based editor or a command line program?
-Brendan
#123226 - king501 - Mon Mar 26, 2007 9:09 am
probably start with a command line program, and then move to an interactive GUI. So I want to learn to make both of them.
#123229 - sgeos - Mon Mar 26, 2007 10:22 am
I use the GD Graphics Libraray for all of my command line tools. It can read and write standard file formats including BMP, PNG, etc. When exporting PNG or BMP I open them with GD and then export using fprintf().
You will need to use a library that can draw to the screen if you want to want to create a GUI program. You will be able to use GDI for Windows, but there are probably better libraries, depending on what you want to do.
-Brendan
#123239 - kusma - Mon Mar 26, 2007 12:52 pm
I usually use FreeImage and SDL in some combination when I make basic tools for graphics manipulation.
#123387 - ScottLininger - Tue Mar 27, 2007 9:12 pm