What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Animating DP's, not abandoned yet.

1 votes - 5 average   Animating DP's, not abandoned yet.
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Animating DP's, not abandoned yet.
quote:
Originally posted by lhunath
Right, so I found an easy way to encode a gif in a png.
With imagemagick :
mogrify -comment "@[uri-to-gif]" [uri-to-png]
Then; the produced png is to be set as DP
Afterwards, the other side receives the png, and does this :
identify -format "%c" [uri-to-png] > [uri-to-gif]

Well; something like that anyway.
NO!!! You must not do that!!!

If your serious about all this, I suggest you to read, learn and fully understand the PNG format (although you don't need to know the compression methods for the actual image, you can skip that)

(PNG's consist of "chuncks")
We said that you could add another file to the comment field of a PNG, well it's not THAT easy. First of all a comment field is part of a "iTXt", "tEXt", or "zTXt" chunck (mind the casing!!!). And this can only contain text for the soul purpose of compatibility. So, if you want to incorporate an animated GIF to a PNG, you must create your own type of chunck.

This new chunck must meet certain criteria. For this purpose (adding another image for your plugin to use) it must be:
- private (not public)
- ancillary (not critical)
- safe-to-copy (not unsafe)

Now, the name of a chunck must be 4 bytes long (4 characters), nothing less, nothing more and the casing does matter!!!
To reflect the above chunck criteria, your name must be lowercased-lowercased-uppercased-lowercased.
Also, the name must be one that is not in use already. So if you choose "AMSN" (for nimated-msn-picture or something) it must be "amSn".

Also, the chunck data itself can not exceed 2^31-1 bytes (I thought, I need to look this up again myself). If you need more (not likely as this is 4GB!), you can create two chuncks (with same name, but then you must make your decoder also aware of this of course)

And while you implement all this in your "PNG"-to-"PNG incl. ani-GIF" converter, I suggest you to fill in the comment, software, warning, disclaimer, source, Author fields of a PNG also. (all this for compatibility and information sake)...

Also, note that there are different version of PNG's (1.0, 1.1, 1.2). Your program needs to be able to handle them all!


So you see, implementing another image into PNG is easy if you know how, but you must know the PNG-format by hart. And you must be good at reading/writing fileformats and understand the conventions...

More info can be found on (this must be learned and studied before attempting something):
http://www.libpng.org/pub/png/
http://www.libpng.org/pub/png/spec/


quote:
Originally posted by PaPalemon
Y not make the display pic Display as GIF? so the file will be sent once then it will be animated?
Because for that you need to change the way MSN Messenger actually works. And those changes will be very very huge! It's not doable...

This post was edited on 05-28-2004 at 04:42 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-27-2004 11:49 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Animating DP's, not abandoned yet. - by lhunath on 05-25-2004 at 09:54 PM
RE: Animating DP's, not abandoned yet. - by Maniac on 05-25-2004 at 10:35 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-25-2004 at 10:44 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-26-2004 at 04:06 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-26-2004 at 07:16 PM
RE: Animating DP's, not abandoned yet. - by Nick2588 on 05-27-2004 at 06:14 AM
RE: Animating DP's, not abandoned yet. - by user27089 on 05-27-2004 at 07:25 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-27-2004 at 09:20 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-27-2004 at 09:55 AM
RE: Animating DP's, not abandoned yet. - by PaPalemon on 05-27-2004 at 11:46 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-27-2004 at 11:49 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-27-2004 at 11:57 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-27-2004 at 02:14 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-27-2004 at 02:46 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 05-27-2004 at 03:27 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-27-2004 at 03:33 PM
RE: Animating DP's, not abandoned yet. - by Guido on 05-27-2004 at 05:36 PM
RE: Animating DP's, not abandoned yet. - by crank on 05-27-2004 at 06:37 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-27-2004 at 06:54 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-27-2004 at 09:10 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-27-2004 at 09:23 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 01:47 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 02:11 PM
RE: Animating DP's, not abandoned yet. - by RebelSean on 05-28-2004 at 02:27 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 03:09 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 05-28-2004 at 04:04 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-28-2004 at 04:45 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 05-28-2004 at 05:01 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-28-2004 at 05:07 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 06:11 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-28-2004 at 06:17 PM
RE: Animating DP's, not abandoned yet. - by Varish on 05-28-2004 at 06:58 PM
RE: Animating DP's, not abandoned yet. - by dotNorma on 05-28-2004 at 07:03 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 07:03 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 05-28-2004 at 07:05 PM
RE: RE: Animating DP's, not abandoned yet. - by lhunath on 05-28-2004 at 07:08 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-29-2004 at 08:35 AM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 05-29-2004 at 08:38 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-29-2004 at 09:15 AM
RE: Animating DP's, not abandoned yet. - by rompom7 on 05-29-2004 at 01:24 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 05-29-2004 at 01:44 PM
RE: RE: Animating DP's, not abandoned yet. - by lhunath on 05-29-2004 at 02:30 PM
RE: Animating DP's, not abandoned yet. - by rompom7 on 05-30-2004 at 02:10 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-30-2004 at 08:12 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 05-30-2004 at 11:20 AM
RE: Animating DP's, not abandoned yet. - by illuzn on 06-01-2004 at 12:18 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 06-01-2004 at 04:05 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 06-01-2004 at 04:37 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 06-01-2004 at 04:51 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 06-01-2004 at 06:15 PM
RE: Animating DP's, not abandoned yet. - by whowho on 06-04-2004 at 03:02 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 06-04-2004 at 04:33 PM
RE: Animating DP's, not abandoned yet. - by Hah on 06-04-2004 at 05:25 PM
RE: Animating DP's, not abandoned yet. - by whowho on 06-07-2004 at 05:06 PM
RE: Animating DP's, not abandoned yet. - by whowho on 06-12-2004 at 07:08 PM
RE: Animating DP's, not abandoned yet. - by saralk on 06-12-2004 at 09:26 PM
RE: Animating DP's, not abandoned yet. - by (CyBeRDuDe) on 06-13-2004 at 12:20 AM
RE: RE: Animating DP's, not abandoned yet. - by saralk on 06-13-2004 at 03:50 PM
RE: Animating DP's, not abandoned yet. - by Concord Dawn on 06-13-2004 at 01:51 AM
RE: Animating DP's, not abandoned yet. - by aNILEator on 06-13-2004 at 03:43 AM
RE: Animating DP's, not abandoned yet. - by Vantage on 06-13-2004 at 03:48 AM
RE: Animating DP's, not abandoned yet. - by Concord Dawn on 06-13-2004 at 03:52 AM
RE: Animating DP's, not abandoned yet. - by Vantage on 06-13-2004 at 04:01 AM
RE: Animating DP's, not abandoned yet. - by Concord Dawn on 06-13-2004 at 05:27 AM
RE: Animating DP's, not abandoned yet. - by Vantage on 06-13-2004 at 05:29 AM
RE: Animating DP's, not abandoned yet. - by Concord Dawn on 06-13-2004 at 07:31 AM
RE: Animating DP's, not abandoned yet. - by Black_Forky on 06-13-2004 at 12:14 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 06-13-2004 at 01:12 PM
RE: Animating DP's, not abandoned yet. - by Concord Dawn on 06-13-2004 at 02:49 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 06-13-2004 at 03:21 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 06-13-2004 at 03:46 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 06-13-2004 at 04:13 PM
RE: Animating DP's, not abandoned yet. - by (CyBeRDuDe) on 06-13-2004 at 08:28 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 06-14-2004 at 03:27 PM
RE: Animating DP's, not abandoned yet. - by RebelSean on 07-22-2004 at 04:05 AM
RE: Animating DP's, not abandoned yet. - by aNILEator on 07-22-2004 at 05:03 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-02-2004 at 12:03 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-02-2004 at 03:23 PM
RE: Animating DP's, not abandoned yet. - by reisyboy on 09-02-2004 at 10:21 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-03-2004 at 07:30 AM
RE: Animating DP's, not abandoned yet. - by RebelSean on 09-03-2004 at 11:02 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-05-2004 at 12:38 PM
RE: Animating DP's, not abandoned yet. - by Vantage on 09-07-2004 at 09:22 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-07-2004 at 09:39 PM
RE: Animating DP's, not abandoned yet. - by (CyBeRDuDe) on 09-08-2004 at 09:08 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-08-2004 at 11:45 AM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-08-2004 at 03:22 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-08-2004 at 05:59 PM
RE: Animating DP's, not abandoned yet. - by VuDu on 09-08-2004 at 06:12 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-08-2004 at 07:07 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-09-2004 at 12:00 AM
RE: Animating DP's, not abandoned yet. - by VuDu on 09-09-2004 at 12:13 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-09-2004 at 12:21 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-10-2004 at 10:26 PM
RE: Animating DP's, not abandoned yet. - by ElectroSoft on 09-12-2004 at 02:13 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-12-2004 at 09:31 AM
RE: Animating DP's, not abandoned yet. - by BEWARE^^ on 09-12-2004 at 09:41 AM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 09-12-2004 at 10:01 AM
RE: Animating DP's, not abandoned yet. - by Tochjo on 09-12-2004 at 10:38 AM
RE: Animating DP's, not abandoned yet. - by ElectroSoft on 09-12-2004 at 02:36 PM
RE: Animating DP's, not abandoned yet. - by Tochjo on 09-12-2004 at 02:59 PM
RE: Animating DP's, not abandoned yet. - by ElectroSoft on 09-12-2004 at 03:02 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-12-2004 at 04:56 PM
RE: Animating DP's, not abandoned yet. - by Vantage on 09-12-2004 at 05:05 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-12-2004 at 05:20 PM
RE: Animating DP's, not abandoned yet. - by Vantage on 09-12-2004 at 05:24 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-12-2004 at 06:44 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-12-2004 at 07:24 PM
Hidden Data; post your Feature Requests - by lhunath on 09-14-2004 at 02:57 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-14-2004 at 03:08 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-14-2004 at 03:11 PM
RE: Animating DP's, not abandoned yet. - by Knad on 09-14-2004 at 03:15 PM
RE: Animating DP's, not abandoned yet. - by Huuf on 09-14-2004 at 03:17 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-14-2004 at 03:26 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 09-14-2004 at 08:18 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-14-2004 at 08:26 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 09-14-2004 at 08:28 PM
RE: Animating DP's, not abandoned yet. - by Vantage on 09-14-2004 at 08:30 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-14-2004 at 08:31 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-14-2004 at 08:57 PM
RE: Animating DP's, not abandoned yet. - by bostonfanx on 09-18-2004 at 04:13 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-18-2004 at 07:42 AM
RE: Animating DP's, not abandoned yet. - by ironlink on 09-19-2004 at 12:55 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-19-2004 at 09:20 AM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-19-2004 at 11:04 AM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-19-2004 at 11:17 AM
RE: Animating DP's, not abandoned yet. - by reisyboy on 09-19-2004 at 11:27 AM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-19-2004 at 12:58 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-19-2004 at 01:04 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-19-2004 at 01:10 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-19-2004 at 01:12 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-20-2004 at 01:33 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-20-2004 at 01:37 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-20-2004 at 01:56 PM
RE: Animating DP's, not abandoned yet. - by ElectroSoft on 09-21-2004 at 10:44 AM
RE: Animating DP's, not abandoned yet. - by riahc4 on 09-21-2004 at 08:09 PM
RE: Animating DP's, not abandoned yet. - by user27089 on 09-21-2004 at 08:22 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 09-21-2004 at 08:23 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-21-2004 at 08:58 PM
RE: Animating DP's, not abandoned yet. - by ElectroSoft on 09-21-2004 at 09:55 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 09-22-2004 at 11:54 AM
RE: Animating DP's, not abandoned yet. - by Eric on 09-22-2004 at 01:35 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-22-2004 at 02:33 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 09-22-2004 at 05:33 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 09-23-2004 at 06:39 AM
RE: Animating DP's, not abandoned yet. - by reisyboy on 09-24-2004 at 05:27 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 09-24-2004 at 06:12 PM
RE: Animating DP's, not abandoned yet. - by Blabj on 09-27-2004 at 08:45 PM
RE: Animating DP's, not abandoned yet. - by .Roy on 09-27-2004 at 08:49 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 11-05-2004 at 06:10 PM
RE: Animating DP's, not abandoned yet. - by lhunath on 11-06-2004 at 01:59 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 11-06-2004 at 02:13 PM
RE: Animating DP's, not abandoned yet. - by Millenium_edition on 11-06-2004 at 02:28 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 11-06-2004 at 05:43 PM
RE: Animating DP's, not abandoned yet. - by limus on 11-06-2004 at 06:28 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 11-06-2004 at 10:54 PM
RE: Animating DP's, not abandoned yet. - by CookieRevised on 11-07-2004 at 11:35 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 12-03-2004 at 11:03 PM
RE: Animating DP's, not abandoned yet. - by aNILEator on 12-03-2004 at 11:11 PM
RE: Animating DP's, not abandoned yet. - by riahc4 on 12-04-2004 at 01:36 AM
RE: Animating DP's, not abandoned yet. - by aNILEator on 12-04-2004 at 10:32 PM


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