Q: Where is my account picture stored?
I took a picture of myself using my iSight camera when I set up my MacBook. Where is the picture stored? Does someone have the Finder directory? I want to upload this same picture to YouTube for my profile.
MacBook (mid 2007), Mac OS X (10.6.5), 1GB RAM, 2.0GHz Intel Core 2 Duo
Posted on Dec 30, 2010 5:33 PM
by jsd2,Solvedanswer
I just tried using the second method given in that article, and it did seem to work:
-----------------------
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/.
I constructed the following "generic" command from the one given in the article. When copy-pasted directly into Terminal and run without modification, it creates a small file named MyAccountPic.jpg on the current user's Desktop:
-----------------------
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/.
I constructed the following "generic" command from the one given in the article. When copy-pasted directly into Terminal and run without modification, it 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
Posted on Dec 31, 2010 8:24 AM