Thunderbird Image Auto-Resize

From CDOT Wiki
Jump to: navigation, search

Project Name

Thunderbird Image Auto-Resize

Description

An extension for Thunderbird that gives functionality similar to that of Outlook, where image attachments in an email can be automatically re-sized to a smaller size. This is helpful for users who would otherwise try to send megabytes of image data, when they can safely scale the images down and still share their pictures with friends.

Project Leader(s)

Zaid Ghansar My Blog

Project Contributor(s)

Alexander Schmitt
David Humphrey

Related bugs in bugzilla

Bug 401991

Important Project links

Line 2492 AttachFile() function
[1] SetActualSize() method
[2] doDimension enabling() method
imagemagick to work with image files

Project Releases

Version 0.3

Version 0.2

Version 0.1

Project Details

0.3 Version -

  The Addon now supports all major formats and successfully resizes them.

0.2 Version -

  The Addon now recognizes many file format for resizing.

0.1 Version -

  An Addon capable of handling only JPEG file format for resizing.

Project News

13/Dec/2008

- Small change in release plan. I am releasing the completed addon using ImageMagick's "convert.exe" in 0.3 version. The
  0.4 version will be utilizing the new code that Mozilla has incorporated into Thunderbird.

5/Dec/2008

- So I am able to package a static build version of ImageMagick's "convert.exe" along with my Addon. Just when I was ready to 
  release this important update, the beta version of Thunderbird 3 has included Mozilla's image resizing code. With this I am now
  aiming to use that to have a much cleaner addon for image resizing.

30/Nov/2008

- I am trying to use the nsIProcess to use a Open Source command line
  program called ImageMagick. When successful 
  it can resize the other formats that are only detected right now.

14/Nov/2008
0.2 released:

- The addon can now detect the following file formats: JPEG PNG JPG DPX EXR GIF SVG TIFF BMP
- The JPEG and JPG attachments issue is fixed and works well for resizing them.
- Other formats are detected but cannot be resized in this release.

8/Nov/2008
0.2 expectations:

 - I would like to now add the ability to detect all of the major picture formats as currently it only triggers on JPEG formats. 
 - Fix the javascript errors in 0.1.

5/Nov/2008

  Finalizing the 0.2 release features.

18/Oct/2008

  Released the 0.1 version. Although not the latest version I have, this is the one that works, the changes after this have 
  caused some java script error which I am in the process of fixing.

15/Oct/2008

  Compiling the extension to upload the 0.1 release. Some javascript errors are popping. I think it is due to the CR/LF problem.

13/Oct/2008

  Modified the 0.1 deliverable based on current status.

5/Oct/08

  Added some more links. Found that Thunderbird allows you to customize the size of the embedded image, they have a dialog for it.
  It is in the file -> mozilla/ editor/ ui/ dialogs/ content/ EdImageOverlay.js
  This is BIG boost to my search and looks like will make things much easier. 0.1 release now seems closer.

1/Oct/08

  Added some links to Mozila Bugs related to my project and other important links

28/Sep/08

  Found some extensions that do similar things in Thunderbird, will be of great help to this project

25/Sep/08 -

  So I was finally able to add my simple extension into Thunderbird. Now to study how to get the
  extension onto the compose mail screen.

20/Sep/08 -

  First step is to make a simple extension in Thunderbird, unfortunately was not able to do so
  successfully on the first run. Still poking at it.

15/Sep/08 -

  Created Initial project page