Bug 107094

Summary: Wish: KopeTeX should be able to export rendered images as custom emoicons.
Product: [Unmaintained] kopete Reporter: Sonyu Chen <u911818>
Component: Latex PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: chtitux, meyerm
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sonyu Chen 2005-06-09 08:51:23 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
Compiler:          GCC 3.4.3 
OS:                Linux

The KopeTeX plugin renders LaTeX equations on the fly, but the image rendered is only displayed on the local machine.  For most situations, the other contact is using the MS' official MSN client.  They only see a strange string on the screen, but not the rendered image.   

If the rendered image can be transmitted to the other contact, in the form of custom emoicons, then the functionality of the plugin will not be limited within the systems having Kopete and LaTeX installed.  Anybody using MSN can experience the power of Kopete.     

Thanks :)
Comment 1 Olivier Goffart 2005-06-09 09:40:05 UTC
I have already code to export them as INK message.
(it's in svn but commented out)
But It doesn't worked because MSN Messenger was unable to display them. (because it needed a special format)
Let's hope it will work with  emoticons.
Comment 2 Marius 2005-11-13 18:32:09 UTC
Cant the rendered text be saved as an image and sent to the other side as that?

I expected it to work th at was but obviously it doesnt so using this plugin to talk to my MSN-friends is useless as they all use the official client.
Comment 3 Marius 2005-12-04 19:33:34 UTC
Any word on fixing this? Shouldnt be that hard. Right now i can write it, save the displayed image and then send it as a file. Even an automation of that (kinda weird though :) ) would be better.
Comment 4 dan 2006-04-03 19:59:47 UTC
I thing this option may procure people using anything else than MSN or anyway...


Do you thing it will be added ?
Comment 5 Ben Jones 2006-05-28 01:25:19 UTC
I have almost-successfully implemented this, but sadly there are a few problems: I don't really know what I'm doing, so I've probably done something stupid; and the official MSN client seems to crop or resize custom emoticons to 50x50 pixels, so the maximum size of a LaTeX formula is tiny. It's easy to have it automatically resized, but then they're typically too small to read. It would be nice to do things like split the formula into multiple pieces and send them as separate emoticons, but I can't find a way of sending multiple emoticons in one message: one seems to appear, but the others don't. I'm not familiar with the Kopete source code at all, so I've probably missed something obvious.

I've never tried modifying the code of any KDE component before, so I'm not really sure what I'm doing, but if this hasn't been (or isn't being) implemented already, and if there's still interest in this, I will try and make my modifications less rubbish and post a patch.
Comment 6 Chani 2006-05-28 01:42:19 UTC
> ------- Additional Comments From benjamin.jones seh ox ac uk  2006-05-28 01:25 -------
> I have almost-successfully implemented this, but sadly there are a few problems: I don't really >know what I'm doing, so I've probably done something stupid; and the official MSN client seems >to crop or resize custom emoticons to 50x50 pixels, so the maximum size of a LaTeX formula is tiny.


doesn't msn have some other thingy for drawing messages? I remember
last year some of my friends were playing with it, they'd scrawl out
some message and it'd come through as a picture, definitely bigger
than 50x50... maybe that could be used, if anyone knows how...
Comment 7 dan 2006-05-28 09:29:56 UTC
Some friends use MSN and display icons bigger than 50x50 (also not squared). And the aspect is correct under Kopete as well ! If it can help you...
Comment 8 Sebastian Lara 2006-09-10 00:09:33 UTC
aMSN can send images as custom emoticons at 50x50, but if you use animated gifs, the size of the image don't change and you can send a full size animated emoticon. Then, i saved a normal image as a animated gif using The Gimp adding a transparent layer. It worked fine and with any pincture. 

I don't really know how to do this myself on kopetex but learning from aMSN should work.

Thanks for your excelent work :)
Comment 9 gusufyr 2006-11-03 12:31:08 UTC
Yes, and what I saw here : http://www.trap17.com/forums/how-create-bigger-msn-emoticons-t42529.html
seems to confirm what Sebastian Lara says
Comment 10 Ben Jones 2007-05-16 22:38:44 UTC
I did try making animated emoticons out of the rendered formulae at one point, but I don't think it worked, and I didn't understand why. Recently I have tried again, but I cannot test it as the other person is using a more recent version of the official client, for which sending custom emoticons depends on a fix for bug 129929.

> ------ Additional Comment #6 From Chani 2006-05-28 01:42 ------- 
> doesn't msn have some other thingy for drawing messages? I remember 
> last year some of my friends were playing with it, they'd scrawl out 
> some message and it'd come through as a picture, definitely bigger 
> than 50x50... maybe that could be used, if anyone knows how... 

I think these are the Ink messages. It seems like this has already been tried, but the official client ignores the messages. I assume this is because they are normal GIFs instead of Ink-format GIFs, and the official client expects to interpret the Ink instructions and does not use the GIF fallback, but I may be completely wrong on this.

I don't know if any of the Kopete developers are working on this or have a solution. If not I would be happy to try again with animated GIFs or any other workarounds when bug 129929 is fixed, and post a patch if there is still interest in this. Thanks!
Comment 11 Alexander B. 2007-10-05 16:17:21 UTC
I agree this should be implemented, otherwise the plugin is pretty pointless. Looking forward to see it!
Comment 12 meyerm 2010-05-28 21:26:12 UTC
Hey, I really like this idea. Sadly there hasn't been any activity for 3 years. How will kopete in KDE4 advance in this regard? Thanks :-)
Comment 13 Christoph Cullmann 2024-09-18 18:28:48 UTC
Dear user, unfortunately Kopete is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.