What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » activex for generating bmp files from png

activex for generating bmp files from png
Author: Message:
luisillo
Junior Member
**

Avatar
yo

Posts: 23
38 / Male / –
Joined: Jun 2006
O.P. activex for generating bmp files from png
Hello!
I'm working on a script that allows you to set your DisplayPicture to that one you want but you can also add a text on it,

for example, you have an image "xyz" as a DP, and when you type /text2img "whatever you want on the DP", your image automatically changes to the one you have but with a text on it. When you want your previous image, simply type "/PreviousDP" and it'll change.

I don't know if it is very usefull for anybody, but I find it at least interesting

What I dont have, and I've been looking for, is an activex that converts png files to bmp, for being able to add the text and then convert them back to png, this last part it's solved but the png->bmp isn't.

Does anyone havo any idea, comment, or suggestion??

Thanks a lot in advance
06-26-2006 02:15 PM
Profile PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
RE: activex for generating bmp files from png
Why do you want to convert it to bmp?

quote:
Originally posted by Scripting documentation

When setting a new display picture, JPG, GIF, BMP and PNG files can be used.


This post was edited on 06-26-2006 at 02:18 PM by mathieumg.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-26-2006 02:18 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: activex for generating bmp files from png
The library (dynimage, i bet) only supports BMP. The library is also used in iTunes+ for image generation...I tried to make a script like this, but I'm not sure there's a way to convert it in jscript :/
06-26-2006 02:23 PM
Profile PM Find Quote Report
luisillo
Junior Member
**

Avatar
yo

Posts: 23
38 / Male / –
Joined: Jun 2006
O.P. RE: RE: activex for generating bmp files from png
quote:
Originally posted by deAd
The library (dynimage, i bet) only supports BMP.


Exactly! thats why I need to convert the DP to BMP, everything else is done, but you have to put the img in bmp format, and i cant do that 'cause when a picture is loaded into WLM DP is set to .dat with png format, so this takes a lot of work away, otherwise I had to create a browser dialog, and all thet stuff, which, appart from being little far from my experience with js programing (that's not the main reason), it would make my script heavier, and I want (if possible) a light one.
06-26-2006 02:29 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: activex for generating bmp files from png
add the text using GDI+ API's, save the picture again, done

no external libraries needed, everything can be done with the Windows API's.

Look on http://www.msdn.com/ for more information on using the Windows API's.

This post was edited on 06-26-2006 at 02:34 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-26-2006 02:34 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: activex for generating bmp files from png
Making a browser dialog is actually quite simple, but yeah I see why you want a PNG to BMP, I thought the same thing when I started uisng dynimage, didn't find anything though.

Maybe if we all email and bug the author of dynimage... :P
06-26-2006 02:35 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On