LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2012, 02:04 PM   #1
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Thunderbird---extract embedded images


I did find one relevant thread, but it was for evolution.

The mail format for Thunderbird includes images sent as attachments, but the format is not the normal jpeg. I'm wondering if there is a tool for extracting these images.

(It can of course be done in Thunderbird, but it's a tedious process---save images one at a time)

thanks
 
Old 06-15-2012, 02:34 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
If you extract an image in a different format (such as BMP, GIF, PNG, TIFF) and want it in JPEG format, you can use the "convert" program (in package usually named "imagemagick" or something like that) to convert the image file's format (and do quite a number of other things like scaling it to another size).
 
Old 06-15-2012, 02:38 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Skaperen View Post
If you extract an image in a different format (such as BMP, GIF, PNG, TIFF) and want it in JPEG format, you can use the "convert" program (in package usually named "imagemagick" or something like that) to convert the image file's format (and do quite a number of other things like scaling it to another size).
I'll be happy to be able to extract in ANY of the common formats!!---Thunderbird is using some kind of encoding that I've never seen before.
 
Old 06-15-2012, 07:31 PM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
My Thunderbird lets me save and image mailed to be as an inline image, by right clicking on the image, and selecting "Save Image As". For attached files, I right click on the file name at the bottom, and select "Save As". Is this not working for you?
 
Old 06-15-2012, 09:45 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Skaperen View Post
My Thunderbird lets me save and image mailed to be as an inline image, by right clicking on the image, and selecting "Save Image As". For attached files, I right click on the file name at the bottom, and select "Save As". Is this not working for you?
Yes--that works fine. In my case, I've got some large files with many years of messages. Going thru them looking for images the "normal" way will be a long tedious process.
 
Old 06-17-2012, 09:49 AM   #6
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
You might set up a temporary dovecot IMAP server and drag a copy of you inbox there. Dovecot will store each message as a separate file in your Maildir. Then you can iterate through the files with a shell script, use ripmime to extract the attachments, and collect the images.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an application to extract text from images Dave_P Linux - Software 2 12-12-2011 08:41 PM
HOWto extract embedded pictures from evolution email? WildDrake! Linux - Software 3 11-10-2007 05:04 AM
Need program to extract images from video! badgerbox76 Linux - Software 7 06-04-2006 03:18 AM
extract images from slideshow erimar77 General 4 04-02-2006 10:07 AM
embedded images? Brain Drop LQ Suggestions & Feedback 1 02-13-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration