In my extension I want to create Captcha images on the fly and send it by
mail. Is there a possibility to use a graphics library to create jpegs or
gifs from within Thunderbird?
Christian
Printable View
In my extension I want to create Captcha images on the fly and send it by
mail. Is there a possibility to use a graphics library to create jpegs or
gifs from within Thunderbird?
Christian
Christian Metzler wrote:[color=blue]
> In my extension I want to create Captcha images on the fly and send it by
> mail. Is there a possibility to use a graphics library to create jpegs or
> gifs from within Thunderbird?
>
> Christian[/color]
Not quite sure, but <canvas> should be available in Thunderbird as well.
<http://developer.mozilla.org/en/docs/HTML:Canvas>
<http://developer.mozilla.org/en/docs/Code_snippets:Canvas#Saving_a_canvas_image_to_a_file>
Nils
Hi,
it seems that Thunderbird doesn't support neither the canvas element nor
svg ([url]https://bugzilla.mozilla.org/show_bug.cgi?id=392166[/url]).
Nils Maier wrote:[color=blue]
> Christian Metzler wrote:[color=green]
>> In my extension I want to create Captcha images on the fly and send it by
>> mail. Is there a possibility to use a graphics library to create jpegs or
>> gifs from within Thunderbird?
>>
>> Christian[/color]
>
> Not quite sure, but <canvas> should be available in Thunderbird as well.
> <http://developer.mozilla.org/en/docs/HTML:Canvas>
> <http://developer.mozilla.org/en/docs/Code_snippets:Canvas#Saving_a_canvas_image_to_a_file>
>
> Nils
>[/color]
Ok, thank you all for your help. As it seems, there's no way to solve this
problem. For the first release of my extension I am going to include a set of
captcha images within the extension package.
Perhaps one day it will be possible to use JAVA-classes in Thunderbird
Extensions, so that a JAVA application for generating images can be used.
Christian
On Thursday 23 August 2007 11:44:41 Nils Maier wrote:[color=blue]
> Christian Metzler wrote:[color=green]
> > In my extension I want to create Captcha images on the fly and send it by
> > mail. Is there a possibility to use a graphics library to create jpegs or
> > gifs from within Thunderbird?
> >
> > Christian[/color]
>
> Not quite sure, but <canvas> should be available in Thunderbird as well.
> <http://developer.mozilla.org/en/docs/HTML:Canvas>
> <[url]http://developer.mozilla.org/en/docs/Code_snippets:Canvas#Saving_a_canvas_[/url]
>image_to_a_file>
>
> Nils
>
> _______________________________________________
> dev-extensions mailing list
> [email]dev-extensions@lists.mozilla.org[/email]
> [url]https://lists.mozilla.org/listinfo/dev-extensions[/url][/color]
Nils Maier wrote:[color=blue]
> Not quite sure, but <canvas> should be available in Thunderbird as well.[/color]
In trunk builds, as of around ten hours ago.
Phil Ringnalda