1

I'm looking for the file that corresponds to my account photo (this is also my iChat icon).

  • So your trying to get the actual image file? – ruddfawcett Apr 17 '12 at 22:27
  • yup, that's exactly what i'm trying to do (stupid length requirement lol..) – Tom Lehman Apr 17 '12 at 22:29
  • Your image link is dead — please can you upload it using the official image uploader. – grg Apr 18 '17 at 17:30
1

If you wish to extract a 320x320 version of your account picture you can do so by running the following command: dscl . -read /Users/short_username JPEGPhoto | tail -1 | xxd -r -p > /PATH/TO/accountImage.jpg

Since a 320x320 image would be too small for many purposes, it would be preferable to look first for the actual photo in ~/Library/Images/iChat Recent Pictures/.

The following "generic" command, when copy-pasted directly into Terminal and run without modification, creates a small file named MyAccountPic.jpg on the current user's Desktop:

dscl . -read /Users/`id -un` JPEGPhoto | tail -1 | xxd -r -p > ~/Desktop/MyAccountPic.jpg
  • Links often break over time. Please summarize the contents of external sites in your answer rather than simply linking. – Daniel Apr 18 '12 at 20:56
  • Okay, is that better? – ruddfawcett Apr 18 '12 at 21:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .