wanting to get a Picture off of my MS Windows 10 avatar picture for my log in.
the file appears to be (.accountpicture-ms)
which cant be converted or opened in anything other than windows explorer. But it's a picture? or two pictures in different formats I'v heard?
Im wanting to use the picture for a social media picture.
I ran into a post that may have an answer but OP just assumes you know what file stream is and that you know how to fluently code. I just want a fucking picture... why'd microsoft have to go and make it impossible?
Let's try and find a way to make this " picture " viewable in a .jpg format.
The Preview feature you see in windows explorer is a jpg,png,bmp, etc photo viewer, the file is none of those. You may see .jpg typed at the end, but that was my own edit trying to edit the extension to a jpg but as you can see by the files properties that it had no effect, yes I when into my folder settings and clicked the option to view file extensions in file name, thats what i tried to edit but only resulted in failure.
Not so easy is it?
file associations are irrelevant,
the file extension " .accountpicture-ms "
is two pictures at different resolutions which cant be identified by any known program. .accountpicture-ms is a file holding two .bmp images in one.
gonna have to go semi retarded here.
I dont know how to use this program lol.
How do I identify where the splits are?
are the splits defined by color or cluster of characters?
no the colors here are black for a value that has a corresponding printable ascii character, green for line feed/carriage return and red for anything else. basically to help you see text embedded in files.
grouping is just to make it easy on the eye
typically a bitmap file starts with the values
42 4d which give the ascii characters BM in the right hand column
a bitmap header is a set size and layout and tells you where exactly the image data is within the file.
unfortunately if that is your file then it doesnt seem to contain a proper bitmap header
you can try and guess the data, if the file is a header and then two packed images then start from the bottom, a 24 bit per pixel image will use 3 bytes per pixel, a byte is represented by a 2 digit number here and shown in the row and column offsets. remember they are numbered as hex.
the rows will be padded if necessary so watch out for that.
if you can post the file i'm sure someone might have a crack at it for you
Holy Crap this is hard, I cant find it.
I uploaded the image to a site.
Someone wanna try would appreciate it.
The file holds two jpgs, not bitmaps.
Open in your hex editor, youll see two jpg headers in the filestream. JFIF.
Find the second header and remove everything before it. Save the remainder of the stream as a new .jpg file
I'm well aware of the fact it's ignored. Im quite familiar with the jpeg format and its specifications. But if you want to be lazy and leave shit half-ass thats ok too, this is diy afterall.
Well, I did fix it for you in the second post. The first one was thrown together in about a minute and I did not quality check it until after I posted. It also had other glaring problems like not using p2, and using s.index 4 times instead of 2.