Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread Ted Treen






snip
I did try saving the entire file as .jpg and opening in PhotoShop and I get the 
message:

Could not open attachment6.jpeg because JPEG marker segment length is too 
short (file may be truncated or incomplete).

Snip

I've had this message before in Photoshop, but I've been able to open (and 
re-save) the image with Graphic Converter.

Can't hurt to try.

Ted

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread Alexander Gomes
The first question is are you actually able to see them as inline photos?
 As in, in the email do they show up or do you only see them as text files

On Sun, May 8, 2011 at 6:14 PM, Kris Tilford ktilfo...@cox.net wrote:

 On May 8, 2011, at 6:04 PM, glen wrote:

  Most of the graphics work is done but it would be good get access to a
 couple of
 JPEG's the client has sent -- apparently from a smart phone.


 Why do you believe they're .jpeg format?
 My guess is you've got some other format.


  All I received are files called Attachment 5, Attachment 6. ect. I can
 open
 them in a text editor like TextEdit or in Firefox


 Can't you just drag 'n drop the individual photos from TextEdit or Firefox
 directly onto your desktop? Then open these desktop files with something
 like GraphicConverter or PhotoShop.


 --
 You received this message because you are a member of G-Group, a group for
 those using G3, G4, and G5 desktop Macs - with a particular focus on Power
 Macs.
 The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our
 netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml
 To post to this group, send email to g3-5-list@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/g3-5-list


-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread Jason Brown
I have seen this issue when going from Mac to Pc before. Try opening the file 
in Preview then save it back out if it opens.

Sent from my iPad

On May 8, 2011, at 10:26 PM, glen glenst...@yahoo.com wrote:

 - Original Message 
 
 From: Kris Tilford ktilfo...@cox.net
 
 On May 8, 2011, at 6:04 PM, glen wrote:
 
 Most of the graphics work is  done but it would be good get access to a 
 couple of
 JPEG's the client  has sent -- apparently from a smart phone.
 
 Why do you believe they're  .jpeg format?
 My guess is you've got some other format.
 
 All I  received are files called Attachment 5, Attachment 6. ect. I can 
 open
 them in a text editor like TextEdit or in Firefox
 
 Can't you just drag 'n  drop the individual photos from TextEdit or Firefox 
 directly onto your desktop?  Then open these desktop files with something 
 like 
 GraphicConverter or  PhotoShop.
 
 Kris,
 If I delete all the extraneous email headers, HTML code and actual email  
 messages I'm left with this:
 
 --_=_NextPart_006_01CC0431.20606A80--
 
 --_=_NextPart_005_01CC0431.20606A80
 Content-Type: image/jpeg;
name=Eagle-Landscaping-Apr-2011.jpg
 Content-Transfer-Encoding: base64
 Content-Description: Eagle-Landscaping-Apr-2011.jpg
 Content-Disposition: attachment;
filename=Eagle-Landscaping-Apr-2011.jpg
 
 /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEZAAA/+4ADkFkb2JlAGTAAf/b
 AIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgIC
 AwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD
 AwMDAwMDAwMDAwMDAwMDAwMD/8AAEQgBWgIuAwERAAIRAQMRAf/EAMIAAQACAgMBAQEBAAA
 
 [Cut]
 this  goop goes on for a number of MB's
 
 I did try saving the entire file as .jpg and opening in PhotoShop and I get 
 the 
 message:
 
 Could not open attachment6.jpeg because JPEG marker segment length is too 
 short (file may be truncated or incomplete).
 
 So I assume I am not selecting and saving  the proper header text info for a 
 graphic reader to open the file properly. If I drop the entire file into PS I 
 still get the same message. Perhaps I need to add some kind of text marker to 
 ID 
 the file as jpeg? --glen
 
 -- 
 You received this message because you are a member of G-Group, a group for 
 those using G3, G4, and G5 desktop Macs - with a particular focus on Power 
 Macs.
 The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
 guide is at http://www.lowendmac.com/lists/netiquette.shtml
 To post to this group, send email to g3-5-list@googlegroups.com
 For more options, visit this group at http://groups.google.com/group/g3-5-list

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread Brielle Bruns

On 5/8/11 9:26 PM, glen wrote:

- Original Message 


From: Kris Tilfordktilfo...@cox.net



On May 8, 2011, at 6:04 PM, glen wrote:


Most of the graphics work is  done but it would be good get access to a

couple of

JPEG's the client  has sent -- apparently from a smart phone.


Why do you believe they're  .jpeg format?
My guess is you've got some other format.


All I  received are files called Attachment 5, Attachment 6. ect. I can

open

  them in a text editor like TextEdit or in Firefox


Can't you just drag 'n  drop the individual photos from TextEdit or Firefox
directly onto your desktop?  Then open these desktop files with something like
GraphicConverter or  PhotoShop.


Kris,
If I delete all the extraneous email headers, HTML code and actual email
messages I'm left with this:

--_=_NextPart_006_01CC0431.20606A80--

--_=_NextPart_005_01CC0431.20606A80
Content-Type: image/jpeg;
name=Eagle-Landscaping-Apr-2011.jpg
Content-Transfer-Encoding: base64
Content-Description: Eagle-Landscaping-Apr-2011.jpg
Content-Disposition: attachment;
filename=Eagle-Landscaping-Apr-2011.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEZAAA/+4ADkFkb2JlAGTAAf/b
AIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgIC
AwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD
AwMDAwMDAwMDAwMDAwMDAwMD/8AAEQgBWgIuAwERAAIRAQMRAf/EAMIAAQACAgMBAQEBAAA

[Cut]
this  goop goes on for a number of MB's

I did try saving the entire file as .jpg and opening in PhotoShop and I get the
message:

Could not open attachment6.jpeg because JPEG marker segment length is too
short (file may be truncated or incomplete).

So I assume I am not selecting and saving  the proper header text info for a
graphic reader to open the file properly. If I drop the entire file into PS I
still get the same message. Perhaps I need to add some kind of text marker to ID
the file as jpeg? --glen





Save the file from the start of /9j/ to the end before the 
--NextPart--- etc.


Bring up command prompt, and do:

openssl base64 -d -in infile -out outfile

And it will convert the file to an actual jpg from a base64 encoded 
attachment.  Should do the trick!




--
Brielle Bruns
The Summit Open Source Development Group
http://www.sosdg.org/ http://www.ahbl.org

--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread glen


  So I assume I am not selecting and saving   the proper header text info for 
a
  graphic reader to open the file  properly. If I drop the entire file into 
  PS 
I
  still get the same  message. Perhaps I need to add some kind of text marker 
to ID
  the file  as jpeg? --glen
 
 
 
 
 Save the file from the start of /9j/ to  the end before the 
 --NextPart--- etc.
 
 Bring up command prompt,  and do:
 
 openssl base64 -d -in infile -out  outfile
 
 And it will convert the file to an actual jpg from a  base64 encoded 
 attachment.  Should do the trick!
 
 -- 
 Brielle Bruns
 The Summit Open Source Development  Group
 http://www.sosdg.org/  http://www.ahbl.org
 


OK, by infile I assume you mean something like 
/Users/userone/Desktop/attachment6a.txt without the brackets.? And outfile 
 would be something like /Users/userone/Desktop/attachment6a.jpg  without the 
brackets?

And the commands are in Terminal? As you may perceive  I am not an experienced 
Terminal user. But this is very good info and if I can get it right I may be 
very useful for future problems. Wow, great to now the Unix shells of OS X can 
do so much that most of us just don't know about.

As far as this specific problem, I have found that an old  version of Suffix 
Expander will sort through all the garbage and decode MOST of the base64 
attachments (.pdf's and jpg's) -- but not ALL.

The memorial program is on track to be printed on time and all the mission 
critical info is at hand.

Thanks for all who replied: Graphic Converter --great program did not help in 
this odd circumstance.  All who responded on of off list with the need to 
decode 
was correct. How to decode will be a good learning experience for me. I will 
pursue it. Great list! --glen

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-09 Thread Brielle Bruns

On 5/9/11 5:28 PM, glen wrote:

OK, byinfile  I assume you mean something like
/Users/userone/Desktop/attachment6a.txt  without the brackets.? Andoutfile
  would be something like/Users/userone/Desktop/attachment6a.jpg   without the
brackets?



Yes.  Easiest thing I recommend people do is create a folder on the 
desktop, put the files in there, then bring up a command prompt and type 
cd ~/Desktop/FolderName and run the commands in there.


So if you've saved a file called 'myimage.txt' and want to change it to 
'myimage.jpg', you'd do in that directory:


openssl base64 -d -in myimage.txt -out myimage.jpg




And the commands are in Terminal? As you may perceive  I am not an experienced
Terminal user. But this is very good info and if I can get it right I may be
very useful for future problems. Wow, great to now the Unix shells of OS X can
do so much that most of us just don't know about.


Yes.  Understanding how to use the command line features of OS X can 
make life alot easier for users and allows you to unlock alot of power 
user functionality.






As far as this specific problem, I have found that an old  version of Suffix
Expander will sort through all the garbage and decode MOST of the base64
attachments (.pdf's and jpg's) -- but not ALL.

The memorial program is on track to be printed on time and all the mission
critical info is at hand.

Thanks for all who replied: Graphic Converter --great program did not help in
this odd circumstance.  All who responded on of off list with the need to decode
was correct. How to decode will be a good learning experience for me. I will
pursue it. Great list! --glen


GraphicConverter isn't really made for decoding base64/uuencoded files. 
Most mail clients will handle them automatically provided they are 
formatted correctly by the sender.


Unfortunately, companies will half-ass their MIME implementation and 
compliant clients will not be able to properly process them.




--
Brielle Bruns
The Summit Open Source Development Group
http://www.sosdg.org/ http://www.ahbl.org

--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Extracting JPEGl Files From Phone Attachments

2011-05-08 Thread glen
Perhaps there is a better list or forum for this problem but since I'm using a 
G4 733Mhz DA and OSX 4.11, I will try here first.

The project is to print a memorial program for a fund raising event for a local 
HS student  who tragically died after a seizure during an athletic  event.

Most of the graphics work is done but it would be good get access to a couple 
of 
JPEG's the client has sent -- apparently from a smart phone.

All I received are files called Attachment 5, Attachment 6. ect. I can open 
them in a text editor like TextEdit or in Firefox but not in PhotoShop or Illy. 
 
I can see all the headers and read the email tread if I ignore the HTML coding. 
Then  I see to the file jpg or pdf . When  I delete all the extraneous text and 
save as jpg or pdf --no go in PhotoShop even after adding the proper suffix 
(.jpg or .pdf)

Also  noted the files were encode in base 64, so on  a lark a ran then through 
Stuffit  Expander 12 and the .pdf files translated and are usable not so the 
JPEG files.

Is there any way to extract these embedded JPEG files? I can see them in text 
mode. --glen

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-08 Thread admin
Someone else will know better, but you might download the  
GraphicConverter (Lemke) demo.

On May 8, 2011, at 7:04 PM, glen wrote:

--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-08 Thread Kris Tilford

On May 8, 2011, at 6:04 PM, glen wrote:

Most of the graphics work is done but it would be good get access to  
a couple of

JPEG's the client has sent -- apparently from a smart phone.


Why do you believe they're .jpeg format?
My guess is you've got some other format.

All I received are files called Attachment 5, Attachment 6. ect. I  
can open

them in a text editor like TextEdit or in Firefox


Can't you just drag 'n drop the individual photos from TextEdit or  
Firefox directly onto your desktop? Then open these desktop files with  
something like GraphicConverter or PhotoShop.


--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-08 Thread glen
- Original Message 

 From: Kris Tilford ktilfo...@cox.net

 On May 8, 2011, at 6:04 PM, glen wrote:
 
  Most of the graphics work is  done but it would be good get access to a 
couple of
  JPEG's the client  has sent -- apparently from a smart phone.
 
 Why do you believe they're  .jpeg format?
 My guess is you've got some other format.
 
  All I  received are files called Attachment 5, Attachment 6. ect. I can 
open
   them in a text editor like TextEdit or in Firefox
 
 Can't you just drag 'n  drop the individual photos from TextEdit or Firefox 
directly onto your desktop?  Then open these desktop files with something like 
GraphicConverter or  PhotoShop.

Kris,
If I delete all the extraneous email headers, HTML code and actual email  
messages I'm left with this:

--_=_NextPart_006_01CC0431.20606A80--

--_=_NextPart_005_01CC0431.20606A80
Content-Type: image/jpeg;
name=Eagle-Landscaping-Apr-2011.jpg
Content-Transfer-Encoding: base64
Content-Description: Eagle-Landscaping-Apr-2011.jpg
Content-Disposition: attachment;
filename=Eagle-Landscaping-Apr-2011.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEZAAA/+4ADkFkb2JlAGTAAf/b
AIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgIC
AwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD
AwMDAwMDAwMDAwMDAwMDAwMD/8AAEQgBWgIuAwERAAIRAQMRAf/EAMIAAQACAgMBAQEBAAA

[Cut]
this  goop goes on for a number of MB's

I did try saving the entire file as .jpg and opening in PhotoShop and I get the 
message:

Could not open attachment6.jpeg because JPEG marker segment length is too 
short (file may be truncated or incomplete).

So I assume I am not selecting and saving  the proper header text info for a 
graphic reader to open the file properly. If I drop the entire file into PS I 
still get the same message. Perhaps I need to add some kind of text marker to 
ID 
the file as jpeg? --glen

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Extracting JPEGl Files From Phone Attachments

2011-05-08 Thread dianed143

How about a binary decoder?

Thanks,

Diane
Sent from my iPod Touch!

On May 8, 2011, at 11:26 PM, glen glenst...@yahoo.com wrote:


- Original Message 


From: Kris Tilford ktilfo...@cox.net



On May 8, 2011, at 6:04 PM, glen wrote:

Most of the graphics work is  done but it would be good get access  
to a

couple of

JPEG's the client  has sent -- apparently from a smart phone.


Why do you believe they're  .jpeg format?
My guess is you've got some other format.

All I  received are files called Attachment 5, Attachment 6. ect.  
I can

open

them in a text editor like TextEdit or in Firefox


Can't you just drag 'n  drop the individual photos from TextEdit or  
Firefox
directly onto your desktop?  Then open these desktop files with  
something like

GraphicConverter or  PhotoShop.


Kris,
If I delete all the extraneous email headers, HTML code and actual  
email

messages I'm left with this:

--_=_NextPart_006_01CC0431.20606A80--

--_=_NextPart_005_01CC0431.20606A80
Content-Type: image/jpeg;
   name=Eagle-Landscaping-Apr-2011.jpg
Content-Transfer-Encoding: base64
Content-Description: Eagle-Landscaping-Apr-2011.jpg
Content-Disposition: attachment;
   filename=Eagle-Landscaping-Apr-2011.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEZAAA/ 
+4ADkFkb2JlAGTAAf/b

AIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgIC




AwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD



AwMDAwMDAwMDAwMDAwMDAwMD/8AAEQgBWgIuAwERAAIRAQMRAf/ 
EAMIAAQACAgMBAQEBAAA


[Cut]
this  goop goes on for a number of MB's

I did try saving the entire file as .jpg and opening in PhotoShop  
and I get the

message:

Could not open attachment6.jpeg because JPEG marker segment length  
is too

short (file may be truncated or incomplete).

So I assume I am not selecting and saving  the proper header text  
info for a
graphic reader to open the file properly. If I drop the entire file  
into PS I
still get the same message. Perhaps I need to add some kind of text  
marker to ID

the file as jpeg? --glen

--
You received this message because you are a member of G-Group, a  
group for those using G3, G4, and G5 desktop Macs - with a  
particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our  
netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml

To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list