Skip to main content

Thread: How to convert base64 email attachment to jpg?


i receive lot of emails christmas gift of wireless webcam, each 1 containing jpeg attachment. when @ attachment text file, begins:

code:
--===message_0123456789 content-type: text/plain; charset=us-ascii  camera name : dcs-932l ip address : 192.168.0.196 time : 2011-12-30 07:24:36  --===message_0123456789 content-type: image/jpeg; name="20111230_072436_00.jpg" content-transfer-encoding: base64  /9j/xafeaaacawebaqebaaaaaaaaaaaaaqidbaugbwgjeaacaqiebamebwuebgeaafcbagmaeqqs itetqvfhbsiyfhgbkrujqljiobegm3lb0srdu4iwnjki4fhwbwgxgcumjyg1njc4revgr0huvvzx wgnkzwznahn0dxz3eioehyahijoulzaxmkokpaanqlkztlw2t7jcw8tfxsfi0tpu1dbx2olj5oxm 5+jy8/t19vf4aqebaqebaqebaqeaaaaaaaaaaqidbaugbwgjeqacaqiebamebwuebgeaafcaarec iqmsmuetilfhbdjxbrqjqjnsgzghsfagfchr4srdyvewjtrtcoksbwgxgcynkdu2nzheruzhsfrv
i'm guessing part interested in begins with

content-type: image/jpeg;


if save part beginning that, or beginning else, not recognized .jpg file.

tried running imagemagick convert command, no .jpg emerges it.

used know simple windows command this, have long forgotten, , assume there equally simple linux command, not apparent in bing.com searches have done, or in searches here.

know solution?

quote posted bustard view post
when @ attachment text file
is there reason you're doing this? surely want view image? open image viewer.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] How to convert base64 email attachment to jpg?


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account