"The phone is a remarkably complex, simple device,
and very rarely ever needs repairs, once you fix them." - Dan/Panther

Main Menu

EXIF image data and what it does

Started by TelePlay, January 23, 2021, 10:28:11 PM

Previous topic - Next topic


Since the question came up again, I'll do this simplification of what has already been posted in this photo/image board.

The first attachment below shows the EXIF information attached to an image that was taken on an iPhone and not processed through a simple image editing program or the forum uploading security routine, the original image directly from the camera.

While there is a lot of information about the photo including that it was take nearly a year and a half ago, the key point is the box in red, the orientation recorded by the camera to be used by a digital device that will display the image. In this case, the image has to be rotated 90 degrees CW (clock wise) by the displaying software to show the image in it's correct orientation.

This is the EXIF information that is deleted from an image that is being uploaded to the forum through its security routine (a routine enabled to insure nothing malicious is uploaded to the forum) that removes almost all of the EXIF data including the image display orientation information.

This second image shows the EXIF data from a sideways image already on the forum. You can see most of the EXIF data has been removed by the forum security software and without the orientation information, the image displays sideways.

This third image is the sideways image from above. It was downloaded, opened in MS Paint, rotated and saved with a file name that adds it was rotated. This image now displays correctly on the forum as seen in the last image at this link

and the image of this rotated image is almost identical to the sideways image above, no EXIT data.

Advanced image editing software, that installed on smart phone and Adobe Photoshop, keep the EXIF data but regardless of what it is, it is removed by the forum security algorithm.

If the image can not be first transferred to a PC and process through a simple image editing program that removes the EXIF data, what you see in that software or on that phone will not be what is displayed after uploading it to the forum.

If the uploaded image is sideways, it can be downloaded to a PC, rotated and put back up and it will display correctly because the downloaded image no longer has the EXIF data orientation code that included the downloaded image. It was removed the first time the image was uploaded.

Downloading that image, rotating it and re-uploading it will result in an image that displays with the desired orientation. Downloaded images will always be free from EXIF data making rotation to correct orientation work every time. MS Paint is a very easy to use, fast way to rotate images. Other simple image editing software will also work.

Both of the last two images above have most of their EXIF data stripped away by the forum security software.

Just the way it is. Learn it, practice it and the membership will appreciate images that can be seen without turning their heads 90 degrees one way or another.


To further explain image orientation, the following image is an example of a photo taken in 2014 and posted to an internet car site. The photo was taken with the camera in its horizontal position, as shown in the red box about 1/3 of the way down.

Since the original image was processed using Adobe Photoshop which, as said, does not strip away any of the META or EXIF information.

This photo if posted to the forum would have had the correct orientation, would display horizontally, but most of the META/EXIF data would have been stripped away, including the orientation code, by the Forum security processing algorithm. I this case, since the photo was take with camera in horizontal (normal) position, loss of image rotation information would not have made a difference.

I would think taking the same picture with a camera device in all 4 of its positions, horizontal, rotated 90° right, rotated 180° right and rotated 90° left and posting all 4 of them to the Forum in the "Member Photo Storage Area for Topic Related Linked Images or Other Such PERMANENT Use" board in a members own topic

to test the images would show which camera position produced the horizonal image without pre-posting editing and should be used to prevent sideways images from being uploaded without pre-uploading processing with a simple image editing software program.

What is unusual about this car image is that it is on the internet at a site with all of its META/EXIF data. Looking for an image on the internet that had this information attached was not easy. It seems almost all sites strip the META/EFIF data from images when uploaded leaving only the basic image information and nothing else. I would assume the other sites, and the Forum, realize that malicious code (viruses of any sort) can be imbedded in image code and have set their software to delete this META/EXIF information.

The following is but a few lines of code in the attached 200+ page text file "Car Photo Code.txt" (you need to save it to disk and open it up in WordPad or similar text processor program) needed to display one image.

Ïua×1ŽuSÎæQÃüÊÖ˺/GÁµì«=†Öísš`<6ÆŸ{FúÝÿ \\×ZB›úun©Õ5ÍtîÚË6ÍL÷±þç»ßµs/¬×Ó:Ç틱îȸïg¬kaƒê3ß]ÞÍÎõÍßΡ •éTtVC껾'î£ö&úxT×fkÞÆÕPCXÿ Wõ‡moýÕ½­ÿ ‹üÏz­Ôúæ?O²ü»Ýe™SEŒ!;íÉôØ÷_êoª¿OôßÍÿ ,\æGÖŽ‰'÷½™9]>Ì‹*¸ÛN̏H×K°Žæ[M[kôìõ}Ž»ô¯»èoZYÒ_ÒëÁÈëc%ÏÊvKm¸RíÕ}"QéU"××éoßûÿ ðiü%‹Ž7º\n½—öƺ•–âÐËr²¢jÇo¯m~Úæú¬këSéìÂê}¨d5ÍêÕ8[{êfÂ×[úO³Q^»i¥cXÆ·óoén}¶YAÿ Upÿ gõ1...™e™9"
i†Úí¬6UvKëŸOô¬¡Œþý"?ՎΛ‡"Ô:/fFé¬ï óí³ûi'½§ˆ©ÜÃë®õÃcÝK +}Å»bÇèÚîmcgî{Ûÿ m«—åe7u6
ÁÂ[psH÷7c÷nbæªè8x§cº¹%ä~8G½ÏÈ~ÏÒW22ÝÓ°´ªû¤;}–Ú?«èÑžÚ«üÿ Ò]R#íQ!ÌëW:MT}¶š@Åm²Ú[ZÚ,,mw¾¦z¿d{éwÙú¿üOó|® ë¨ã00¾«¨µ¶1¤<¸Ëêö}/§±vtuÚ¬§ÓÇÈÄ`s\Uö=Ï£Ü썷ý [ÿ ]·ýɦË.µ÷`»¥»ì³!}o úm±¯µþ•Tïÿ ...ôýDÓ
J†P)η¯uœË†>GLÄn#]XœjVßMÒVÛ\ÏwÒý/¨·j교 ª¦ùِü?—ƒŸ'ï´à×EÌ€û(´·ü/êãXÇný¤˜}^èÎ 6Ëšïäeµ§üܪªÿ ª@ã¡úR†sÐÇê$ô-êUÚêëW†KäÚo Ó´îûFߧ{ôýMýŸá?œRëXìêÝQÔãÐüŒZÞ)£cÚÐA;l¼†?§ÿ «¿Ðz<ÎGÕÌ|!UÙG+§2ÝÎ¥÷ë¿gÓû?Ù¬}–lÝﱌTŸÑ½Ô»©ÖÑ\‹.{~^Ø¬²¯óQV¡&rßÒ_^§/¬Œ•...civ(icvVzowçÛªÇúßÖ݈þ›n_lk›Kª¬Þ¨hèßO¹qXÎúÁÓèe×âåVâM^«±®yŸ¤)³3ìö½¿ð~õõ¬ømì:ªa!Æë1ªØç·Úýôí¿÷_éŸþ´óDV«GÖ,_۝D"e"e=Í${«{FÂâïÑ5­;ýw=t˜yvâbefIªÜ¦5<Þkô]"`õo³SúOÖ=Ví•z‹ªgæã š²p€/5Ù†Ð潿šÿ Ýÿ ŒþmQêX:¿LȾ¬—C†5d89›‡§gçmüÿ z¶«NMzñ¿ï_ÿÓßâ×þ Xï߶þßÑÿ Ÿêª¹8¿h±î/Ú6–´6y5^kzp~æ½ïîAx66½ÿ ÚVÀýÚÿ
µ8ýÚ&èÈä}ø8ÓŽK«¯Ó­–âtÚÖ¿hÿ ¾®*æí}lΡø–87ց£\@õÿ Mõ»ó/mkÔ ²'ÐÈ> TñùZ¹Ÿ®Ý7%ý#¨f²§Õkª©¶InöUuwþ'Ëìs~ªØ4,ÝãïÀk+m®/}fHsk" ÓvûÊÝÿ [{ÔðÉÇ£7ìö>š2km9o8¾«'{w=¶=´ºÍ‹BÜ«lÇèôPÜyöZÓí.×c¹¹±¿ª=þƒ]ÍÕê!šñi}-ê%Ì´m¶ŒZX¢[úK^7ÿ /駠  1Ê40}Ÿ;·}lc¯·³Rµ_×:X_...'vEC‡cäÓ˜ßûk{Þƒ}•ß[Å8öä@'_avƒ^)c×mQ»ô4]f#pÿ qÞ£ÃÉþCÜäL"Ž:7Vï­ßY°šÔq[m|9¹x»   ÿ =¯©*~·ô;?¥ôfÒIÖÌ]K¿­ú»égþ²¨úÁÕqmYöÌ°ïwé¯Û¬È3Ô:v6P?JÊÚÐèñ2ÿ û1ZVºcÕ~¬fÕúŽ
6t÷ž^æór›WþÎÔ¨õnWMô/ÆÉûN5Ä·Õ`kH-ƒéÎ=¹¿sìý/ým/墈z>aÒwí<F]T×s‰ôñ©³Ôµß¹ž‹¯«ÒýÛn±ŠÆ7Têo¾ºqÝSñ\Öä ÞÚà Ý_¹Þçïk?1ŠVõn‡Kúc)¶ëŸ‹cý[0ë­¡´=cE-tXû½Oç}gþ"úè]Gë–:÷t—ݍvM¬-¢·—[µŒn?­h
éïôýW׏oè?šJ27®Ë'†i¡ðÑݯêçSf£ŸÔ©ÇÁp Upõ*ßOО"kÝûø­Y?X®é˜î®ÜN£^m»2ZÐAAõú>Ç3ó=?ð>ÅSêoÖÞ¶,¾ì,——³+.ÑSZdÙhÊßuÌô÷³ô[6?ôŸ™é¢»ê§Cé¬
ë½w»Iu-97~良I¿Úb&^...Ušr]Ô궋juN½ŸH¶=­kÞïÝúM÷&éýR¼jƒl¦Ì›}v= XTÏðuÛ_U»¾ŽÏg½>U–»ìu]"6«2a¾ÖûY½þGæmÿ ·z~GV»7¥€Ì«ú:ñki~ƒtð~‹?œÝìM$#£]Ù½J‹no«f;­$Ý[f¹ß/Ùe»úO£b¬÷½ñº4 ÿ R­ý`ÄÉÂÈ'"æÙ–÷¹¹Ϩk- ,m™LÝM¶»wéSÿ B²¾Òîí   ÀŽÌRÄlŸÿÔì
¶"úN°?°óÞÔÅõG»«^ãßk,÷åÿ 7[?¥ÈœùÄç'¡4Cqo²8Üòÿ Û©ŒŸj;?g'úLÌ»G€úQʆVÕ»Úæ[V]áÀ´‡:¶È:éîZ_oémˆéíwŽç¯ÌX«fõ
RµPyÖó,§ÒeðÍ XŽÞÖµcdÛaq{Ü]aöîq$ÿ (É]Qúµ¾ƒ.{3 %ŽÁ«x #hªk1¸I: ‹mu¿Ü›ØêvŸì¹¨;]°ƒÈü‹¸úÍÑz{>®Œ¬OLeˆ Me´[‰°Fs_wýr½ÿ é=b‹y*é³?6¬lfE¹66¦AsÎÙt}þs—Cõ××xûg£EaÖ4»Ñ‡º°æÑ¿"—Õ¿ó}¶!}LgNfE¹™¼>²EôM%ì{]g¥{_FFíûHê½ð^¥ŸCµÃè¸Y̽?ªÑ{n­Õš¬k¨²v–íÙ»þÜD(¼N/GÁ¥Á®‹dXçOïEž...¹ßð™W­Ï­ß±ìwOé/ÚvEÌÜç<†½ÖUˆÏO×ô>·Ú,ôѬéø4‡»;ªÓSXdQU¹NqnE¬ÃÆö¹ŸËb¨üo«6¾ÇU‹àmÙ¹-®H;¶º¬*¯sªÿ ПWßþü³Õ$vTúÃ׺»¶õëòw˜mÛ+$ñ³•ÿ àjLú±ÕXÖÛœÊúN9'œñŽçû˜§~}ÿ õœKUÌ­õ7uVðÆbÑÒé-xoýØê6z™_Ú¿#bƒz5ØÔeõÜQ'.²¯_׸ëºëëõ0Úí>‡Úýd$j&[Ð'ìTEÈ
¬ö²Ëè¸RË0¹¦?í¸œv½Ì§«S-®»ÛMöÑK?Kìý?¢‰õx{¯·'¬¿§ã´šÝfKÜÆc[íý5Õc±ÖäYê;ÑýéUÂ¥¶zö4ꦽÜë?œV0úŽ3IØ6¹ßMܹß×z‹L'Î<?º+ø²å,,#BâýâèÑÓªkë5–>ÇnsH­þMmú-ýçìB¿ t«uv;?º#þ¥¬ªœGŠ;lÀÿ rzÇÿÕëëèÌ~ƒ$¾9-¨€Œ½É¬é˜•¼5ï¹À
Åߣ`Ù»ÿ ?rÉsœ~"œáâI#ò¨ûAÝ~
6]{º6³†9þ–øú-vC\é>5ãþïøOÒ,òIî"cËÈ(ïoˆ×ò¤¥ËtŽײ ØÒ Œsø"{u i þ
%û,, |',,"Ö¶DDÂÌÌéÔÜ=Íl9Ät

When all of the code in the text file is read by a computer device, this is the image that it will display.

I can read a few words in English that state document sections but the actual code is beyond comprehension. As you can see, it would be very easy for someone to insert a short viral code so that when the computer began to read the image code for display, the virus could be activated on the viewing the image. Changing an image code as such would not be seen in the image as displayed but could be read by the computer to install and pass on the virus. As such, the Forum has installed all security options and they will remain in place.

This has all been discussed in numerous topics and replies years ago but with a lot of new members experiencing difficulties posting images in their proper orientation, this topic is possibly a very needed refresher on posting images.

Sending a PM to me with questions is always welcome.


Quote from: TelePlay on January 24, 2021, 12:13:43 PM
...the actual code is beyond comprehension.

Wow. Even before I got down to that paragraph I was thinking what language is that. It's been a while since I last looked at a block of code but that is something else. Even every line aligned to the left making it tricky to follow it's path. I must be really out of date. Or it was written by a self trained I don't need to follow the rules programmer.

Way too easy to hide something mal in that lot.

Thanks for the detailed info. Nice car btw.  :)
A collector of  'Monochrome Phones with Sepia Tones'   ...and a Duck!
Vintage Phones - 10% man made, 90% Tribble


For those who post pictures from cell phones, I've found if I take a shot with the phone vertical and post it here it shows sideways. And I've not figured out how to change it in the post.
So I started taking shots horizontal, then they post correctly.
It wasn't always that way however. And the one thing that changed was my phone, my old phone would show vertical taken shots normally here.
Where as shots taken horizontal showed sideways.
Just a trick I use now. If I have older shots I rotate them in my phone so they are 180 degrees, and then they show correct, but they have to be turned a certain way or they show here upside down.