286
Post New Requests Here / IDEA: Png Painter
« on: October 28, 2005, 12:44 PM »
Ok, let me explain. I am intending this for skinnable button images and etc. in Litestep and other skinnable thingummys, but it'd also work great for webpage graphics or graphic whatevers in general. The first problem is, I am on NT4 which can't handle png alpha channel natively, so I use an Autohotkey script to send a png and a background color to rpng.exe which paints a png on top of my intended background color with alpha-blend, Alt-PrintScreen to capture the window, and open in MSpaint or Ultimate Paint ('cause it handles png's and it's got a funky interface) to snip the graphic out and convert to png bmp or ico from there. Cumbersome to say the least.
Here's the Challenge: to shorten this process.
Sources and binaries for rpng are available at http://www.libpng.org/pub/png/book/sources.html
Hack the source or code your own which will do pretty much the same as rpng.exe But...
send output to file (png,bmp,jpg,etc.) or graphics editor (too many to list)
I've tried simply piping rpng.exe output to a file (rpng.exe > foo.bmp) but to no avail. rpng is intended only as an example thingamabob for coders and it appears they meant it.... Perhaps someone has an idea on how Autohotkey or some similar script prog can simply wait for the window to open and automagically cut out the contents of the window and save it rather than copying a picture of the entire window as Alt-PrintScreen does now.
Here's the Challenge: to shorten this process.
Sources and binaries for rpng are available at http://www.libpng.org/pub/png/book/sources.html
Hack the source or code your own which will do pretty much the same as rpng.exe But...
send output to file (png,bmp,jpg,etc.) or graphics editor (too many to list)
I've tried simply piping rpng.exe output to a file (rpng.exe > foo.bmp) but to no avail. rpng is intended only as an example thingamabob for coders and it appears they meant it.... Perhaps someone has an idea on how Autohotkey or some similar script prog can simply wait for the window to open and automagically cut out the contents of the window and save it rather than copying a picture of the entire window as Alt-PrintScreen does now.