Sign in to follow this  
Followers 0
cryton2707

modify a bitmap

6 posts in this topic

I need a function to basically read some text from the registry and then modify an existing bitmap to put the text in the bitmap.

anyone know how to do this??

Thanks

:)


Welcome to the internet :) where men are men! Women are men! and 16 year old women are FBI agents!

Share this post


Link to post
Share on other sites



Would think the only way would be using the GDI API calls and DllCall in AutoIt. Not easy, maybe not even possible.


I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Haven´t tried it, but it sounds like it could work...

It requires that you use one of the newer version of AutoIt v3 (with GUI-functions)...

1. Make a simple GUI-window.
2. Add a picture-control.
3. Add a label-control.
4. Set the picture-control to display your wanted picture.
5. Set the label-control to display your wanted text.

I could help you by creating some code for you, but I´m sitting on a Mac here..

Sorry.

Good luck !

EDIT : Ooh...if you want to modify the bitmap-file then I don`t know.

But if you want to generate a splash, then you could try my example..

Edited by Helge

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

well you might be able to do it with some sort of screenshot.

Make a gui with the picture taking up the whole thing, place some text on top, send !{printscreen} to capture only the active window, open paint, paste and save.

There must be better ways.

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Maybe use an image app like Irfanview (Freeware) and run some macro's to paste and save?

2c

-Scott

Share this post


Link to post
Share on other sites

thanks guys the paste screen cap and save seams to be probably the most easy to implement :) So I'll try that then post any code Ive got.. Thanks again


Welcome to the internet :) where men are men! Women are men! and 16 year old women are FBI agents!

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  
Followers 0