Page 1 of 1 1
Topic Options
#85513 - 2002-04-12 12:05 AM Image Manipulation
Anonymous
Unregistered


I am hoping that someone will know how to achieve this for me:

I want to write some text into the bottom-right corner of an existing BMP file in an automated fashion. Is there any COM interface that might achieve this?

I could write an EXE to do this, but would really rather not add another dependancy to my list [Frown]

Also, does anyone have a complete list of WMI objects? I have found some really cool uses of WMI in this list and am wondering if I am missing out on anything [Smile]

Top
#85514 - 2002-04-12 03:13 PM Re: Image Manipulation
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
com,

Me and another board member were looking into this exact thing about a year or so ago. the idea was to have a "template" bitmap stored on each wkstn, then during login, dynamically draw some details over the bitmap, then present it to the user.

We couldn`t find any off-the-shelf com objects or commandline utils to do this. In my experience, loading bitmaps into windows is easy, trying to get that bitmap back into a file is a little tougher (there is no savebitmap() windows api to my knowledge).

There are "lots" of third-party runtimes for doing this though. And Kixforms can easily display and minipulate a bitmap, but the problem is that its not off-the-shelf!

-Shawn

Complete list of WMI objects ? Best place is MSDN:

WMI Reference

[ 12 April 2002, 15:14: Message edited by: Shawn ]

Top
#85515 - 2002-05-09 04:00 PM Re: Image Manipulation
Anonymous
Unregistered


Shawn, Comjf,

Love it when I get a chance to give back! I had been looking for the same thing, forever! Now, I believe I may have found something that might be of service. BgInfo - from SysInternals is a cool little tool that automatically displays relevant information about a Windows computer on the desktop's background, such as the computer name, IP address, service pack version, and more. You can edit any field as well as the font and background colors, and can place it in your startup folder so that it runs every boot, or even configure it to display as the background for the logon screen.

Because BGInfo simply writes a new desktop bitmap and exits you don't have to worry about it consuming system resources or interfering with other applications.

BgInfo works on 95 and higher, and Windows NT 4.0 and higher. There is no device driver component to BGInfo, so you can run it like any Win32 program.
You can also use the Windows Scheduler to run BGInfo on a regular basis to ensure long-running systems are kept up to date.

If you create a BGInfo configuration file (using the File|Save Settings menu item) you can automatically import and use those settings on other systems by adding the /I or /iq command line option.

You can download BgInfo FREE here.

If this does not offer everything you need, I have an archaic tool that you guys are welcome to script out. Let me know.

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org