Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I repair JPG images?

I've recovered some JPGs with a data recovery program, but they come out looking like this:User uploaded file and there's no preview image. And when I click to open it, I get this message:"The file Jpg could not be opened. It may be damaged or use a file format that Preview doesn't recognize."


So how do I repair my Jpg images with this problem? BTW I'm using El Capitan on a 2008 iMac.

null-OTHER, Data Recovery for OS X iMacs

Posted on Dec 9, 2017 9:03 PM

Reply
7 replies

Dec 9, 2017 9:09 PM in response to Dreamershearts

They're likely not JPEG images. That is, the recovery software assigned the wrong file type extension to something else.


You can sometimes figure out what a file should be by dropping it into TextEdit. You'll see a lot of garbage characters as TextEdit tries to make sense out a binary file displayed as text. But, what you might find in the clear text (readable English words) are things like the name of the app that created it, file type/encoding, or other clues that may help you determine what it is.

Dec 9, 2017 9:47 PM in response to Kurt Lang

Kurt Lang wrote:


They're likely not JPEG images. That is, the recovery software assigned the wrong file type extension to something else.


You can sometimes figure out what a file should be by dropping it into TextEdit. You'll see a lot of garbage characters as TextEdit tries to make sense out a binary file displayed as text. But, what you might find in the clear text (readable English words) are things like the name of the app that created it, file type/encoding, or other clues that may help you determine what it is.

Interesting because I've accidentally opened JPG files in Text edit before but never paid attention to the text that popped up... So do I look for amidst the text to determine what kind of file it is?

Dec 10, 2017 7:50 AM in response to Dreamershearts

If you cannot open the image in Preview, then there is little to be done with it, or without far deeper technical inspection. If you can open it, the Preview Inspector will tell you more about the image. A fall-back might be to try opening the .jpg with a free trial of GraphicConverter.


The recovery software may have just given you a binary data blob, and decided to add the .jpg extension, because it didn't know what else to do with it.

Dec 10, 2017 9:04 AM in response to Dreamershearts

It requires a bit of luck. If you see XML in the text somewhere, then it may be a Word document (from Office 2011 or later); an HTML file; a .plist file, etc. There are quite a few apps that write data as XML. So, you'd have to keep changing the extension and trying to open it after each change.


Others are more straight forward. Such as, you may find the word TIFF. Which is an easy one since you would just change the extension from .jpg to .tif .


Sometimes you may find the creator, such as the word Adobe in the text. With any luck, it also has the particular app named in the text, such as Illustrator or InDesign. If not, you try the various types of extensions the apps use and see which one is correct. That's a lot under Photoshop since it can write a lot of different types of raster images.


It's all hit and miss. There may not be anything in clear text that will give you a clue.

Dec 17, 2017 2:37 PM in response to VikingOSX

VikingOSX wrote:


If you cannot open the image in Preview, then there is little to be done with it, or without far deeper technical inspection. If you can open it, the Preview Inspector will tell you more about the image. A fall-back might be to try opening the .jpg with a free trial of GraphicConverter.


The recovery software may have just given you a binary data blob, and decided to add the .jpg extension, because it didn't know what else to do with it.

Dumb question, but I'mm ask this anyway, but how do I use the Graphic Converter to determine the state of an image or how to fix it(if possible)?

Dec 17, 2017 2:46 PM in response to Kurt Lang

Kurt Lang wrote:


It requires a bit of luck. If you see XML in the text somewhere, then it may be a Word document (from Office 2011 or later); an HTML file; a .plist file, etc. There are quite a few apps that write data as XML. So, you'd have to keep changing the extension and trying to open it after each change.


Others are more straight forward. Such as, you may find the word TIFF. Which is an easy one since you would just change the extension from .jpg to .tif .


Sometimes you may find the creator, such as the word Adobe in the text. With any luck, it also has the particular app named in the text, such as Illustrator or InDesign. If not, you try the various types of extensions the apps use and see which one is correct. That's a lot under Photoshop since it can write a lot of different types of raster images.


It's all hit and miss. There may not be anything in clear text that will give you a clue.

Well opening it as a tif doesn't work, and when I open the JPG in text edit, I got this in the text:


=˛>.>8>6>:>F>@gŒ>H>L>N>P>X>\>Z>^>d>Bg–>`A∆A»C,CxC|C~CtCÄCzCÇD2D6D8D:D4E¢E†E–E“Fä HñM¿MÊMËMÍMÏMÓO\O^ObOXOZOdOjOhO`X i‡ZZZ»Z ZÃZŒZ–Z“_<_8_:_>* *~*z*|*Ç*à*Ü*å*ä*î*é*Ñ*ò*ö*ñ*†*û*¢*§*™*®*ú*¨*Ä*x*í*¶*Æ+Ù+˛,,(,*,,f`,&,l,é,ê,ífl ,º,Ú,˙,¸-,˛,ˆ- - - -

-‡ˇ - - - ,Ù,¯- - - - - .∞.≤.Ù.Ó..ˆ.˙.¯.˛.¸// / .Ú.Í.Ï/ 040F0|0Ç0Ä0à0ä0Ü0î0x0ê0Ñ0~f†f¢0é0å0íf§1‰1Ê1¸1˙2B2D2zf 2|2Ñ2Ç2ä2å2é2í2ñ2Ä2~2Ü2ê2à2îfÃ2x3ú3ö3û4J4L4N4P4h4z4~4|4¨g 4∆4 4‘4“g 4ÿ4⁄4‰4Ê4‡4‚4Ë4Ï4Ó44¯4˙4»4‹4Í4ˆ6F6\6ú6§6¢6†6¶6∞6≤6∂6û6®6™6¨6Æ6é8é8∆gl8˛9 9 9 8¸99

9 9 gp9 9 ‡ˇ9 9ºgÜ: : :

: : : : gà:":$:,:.:(: : : gä: : : :&:*=6=x=vgƒ>>R>f>h>j>|>t>v>z>x>Ü>n>å>ä>í>ê>ñ>ö>§>¢>¶>T>Jg“g‘>l><>Ñ>Ç>~>à>é>î>† AŒA⁄A÷A AÃA“A‘A–h AÿA‹C.CÑCÜCåCéCäCàh<CêCîCñD<DBD@D>DJDLDDDHE`h^E§E¶E®EÃE‘F™F»FÃF FŒGîGéGíGñGòGêHòHöI IzIxI¬K KdM¬M‰MhÓMÙMˆMÚN¸OlOpO|OÜOÄOvOxOtO‡ˇåOíOêOöOòOîOúOéOrOÇh¸OñOûS"S$i<S&WÍZ\Z^Z`Z bi‰Zdi‚ZfiZ‘Z÷ZÿZ‹_@_F_H_J_B*≤*∂*æ*∫*∏*ƒ*∆*¬*¿*–*‘*÷*Ã*“*º*»* *ÿ*Œ,.,0,nff,¶,≤,æ,¬,¿,ƒ-"- - -(-$ft ~-4-:-8->-@-D- -0-2-,-&-.-6-</ / / / / / / /"/ /$/ / /&/ /(0*060H0∫0¢0ú0†0û0≤0¥0¶0∂0∞0∏0ñ0ò0§0¨0Æ0™0®f®0öf¶22F2ò2†2¢2Æ2∞2§f‘2™2≤2∂‡ f÷2ö2ûfŒf–f“2¥2ú2¶2®3í3§3¶3¢fÙ3®433Ù3Ú3ˆ3 lè‡ˇ4R4j4Ç4÷4Ù4¸4˛g 5

5 5 5 5 5 5 5 5 4Úg g g"5 6`6^6¥6∫6∆6Œ6–6 6æ6Ã6“6÷6‘6‹g<6º6∏6¬6ƒg:6ÿ8í8êgj8“9 9 9$9"9*gr9,9.909(92949 9&9¬9ƒ:0:x:8gå:B:D:H:J:N:L:@:<:T:\:Z:`:b:^:f:h:p:n:l:t:Ä:>:j:2:6:P:::d:R:Xgé: :r:z:|gê=8=z=|g¬=∫=ºg∆> > >™>¨>∏>≤>∂>ƒ>∫>¬>“>Ó>–>‹>⁄>‚>Ë>Í>®>Æ>∞g÷gÿ>º>¿>‡q»>Œ>‘>Ã>fi>‰>Ï>AfiA‰h AËAÍA‡AÊAÏAÓC C h0h2h4C0C2CíCöCòCûCúC†C¢C§D(DjDTD\DdDPDRDVDXDNDZD^DbD`DfDhhJEhEjEúE¨E∞EfiE⁄FÜF¥F “hlF–FfiFÿF÷F‹ Õô‡ˇÇGÑGúGûG†G¢G¶G¨G§GöG®G™Húh§H† ¯H¢HûI

I I I I|I~I∂h¿IƒK K

K K h»K KhKjKlLˆM.M,M\MúM†M§M¶MƒM¯N M˙hM¸M˛N N N N N N

N N N N NN NÏN˛OfO†O¢O§O∂O™O®O¥O∞O¬OºO∫O¿OƒiO»OŒO–O∆h˛O¨O≤O¶O∏O OÃS*S2S0S.U U ipU U VLVÜVÑXÜZfiÊZnZhZ‡Z‰Z‚ZËZÊZÍZÏZÓZ\ \ _L_N_P_R_T_V*⁄*‹*‡*‚*‰*Ó*Ï*Í*Ú*Ë*Ù‡ˇ*˛*¯+ +*˙+ *fi*Ê**ˆ*¸+Ë+Ó+, , , , ,

,2,4,6,8,:,<fb,pfh,∆-F-J-Pfv-T-V-X-H-\-^-b-d-p-v-N-Z-`-f-h-j-l-r-t.∂.∫/,/ /8/</>/B/:/D/0/*/./2/4/@fÑfö0J0æ0∆0Ã0º0¬0¿0Œ0ƒf™0–1Í2 2 1˛2(2Hfƒ2º2æ2∫2¬fÿ2∏2ƒ3¨3™f¸3˙3¸3˛4T4V4n55 5 5 5 5"5 5$5(5&5*585,5.54g$506H6b6»6⁄6‡6Ú6Ó6Ë6Ï6Í7~6˙7 77‡ 6‚7 7 7 7

66‰6 B‡ˇ6ˆg@6¯6˛7 7 gXgZ8‘8÷8ÿ8⁄9<9:gtgv9∆9»:à:Ñ:Ç:ò:ê:ú:ågñ:î:ñ:í:ö:†:¢:§:û:®:Æ:≤:∞:ägî:Ü:é:¶:™gí: ∂=:=<=>=@g¥=t=~=Ä=ƒg»=»=¿=¬=∆> >˙>Ù>ˆ>¯gfi? ?? ? ? ? ? ?

? ? ? ?$?(?0>¸?8?6?<?>?2>Úg⁄g‹? ? ?"g‡?&?*?.?4?:AˆA¯B A˙B B AÚAh A˛BB B B

B B B AÙA¸C C4C8C6C¶C®C™C¨C¥C≤CÆC∞DlDxDvD~DÇDÑD‡ˇÜDéDnDrD|DzDpDÄhLDäDåEdEbEnElEòE¥E≤E‡EÏEÍE ÓEE‚E‰E‹FéF∏F‡F‚F‰FËhnFÙFÚFFÍFÓFÏFÊG∞GÆG∏G∫G¿hàGæG≤G¥G∂GºhÜG»HÆH§H®H¶H™h¶H¨I I I h∞I I I hÆI IÜIÄIÇIÑIäIåIàI∏I∆I»I“h¬IŒI–I÷I IÃI‘K K h hÃK K K KzK|Kth“KxKrKpK~KÄKnKvL¯L¸L˛L˙MM M0M2M^MbM`M®M∆M»N N N(N&N.N0N$NÓOh¯O‘O⁄O‹O‚O‡OÍO‡!OÙOËOÓOÚO¯OˆO‰OÊO˛PP P P i P P P P P P O÷OfiOÏO˙O :k‡ P S

S S4S8S6SNSBSFS>S:S@SPSXSJi A‡ˇSZS\S<SHSLSTSRSVU U U U U"U&U(U*U0U4itU2U$irVåW‡WÏX X4X6XàXäXƒX∆X¬YƒY∆ZtZvZ|ZzZxZ~ZriËZ˙ZˆZÙZ¯iÓZ˛i[ [ [ [ [

[ñ[ò[ö\ \ \ &Ó_\_ñ`ÙbbbÆ* + + fR+ + + + + +$+"+ +*fV+:+2+0+.+8+,+<+ + + +&+ +(fT+6, ,>,@,D,B,t,r,û,»-x-|-Ä-~-Ç-z-å-ä-é-ê-ö-î-í-ú-®-¢-¶-û-Ñ-Ü-à-ñ-òfx.º.¿/L/j/F/N/‡† `/b/V/R/r/h/t/|/~/Ç/Z/H/J/T/P/X/\/^/f/d/p/l/v/n/z/x/Ñ/Ä0L0⁄0“0Ù0‡0Ó0Ï0Ú00¸10˛1 1 1 1 0ÿ0fi0‹0‘0÷0Í0ˆ0Ê0‰0Ë0˙0¯1 0 1

f¨1 0‚f¿1Ï2 f¬2J2∆2Œ2Ã2–2‘2“2 2ÿ2⁄2‡ffif‹2»f⁄2‚2fifˆ3Æ4 4 4 4 Ì9‡ˇ4X4Z4Üg 4ä5 52565H5B5D5J5L5Pg&5T5V5Z5^5d5f5>5`5Xg(5h6fi7 7 7 7 7 7 7J7&7(7*747.707H7"7:787L7N7D7F7<7>7 gB7 7$gD76gF8ñ8‹9@9D9H9J9B9F9 :º:»:“:÷:ÿ:⁄: :¬:¿:Ë:Ï:‚:fi:Ú::æ:¯:ˆ:˛;:∫:‘:Œ:–:‹:∆:ƒ:‡:‰:Ê:Í:Ógò:˙:¸; gö:Ù=Bg∂=F=D=Çgº=Ñg∏g∫> ?@?B?D?F?L?R?Z?V?T?\?^?`?P?l?p?r?z?Ñ?Ç?Ä?Ü?‡¢à?ä?ég‚?ê?N?X?d?f?h?j?t?v?x?~?n?å? íB B B B B$B0B.B B B B&B(B*B:B>B2B4B,B8B"C:C<C>C@C∂C∫C¬CæCƒC∆C»C h>CÃD,DêDîDúDöD¢D§D¶D™DíDñDòDûD¨D®D†E∂E∏EÚEÙE¯E˙E¸FE˛FêhhF∫FˆF¯F¸F˙F˛G G G Gh "}ÔG–G‘G GÃhäG⁄GÿG ¨{‡èH≤H¥H∂H∫h®H∏H∞I I"I$h≤I&IéIêIíIÿJI‚I⁄IfiI‹IÊIËIÓIÍhƒIÚI¯I˙I¸II‡IÏIÙK"K$K K&KÑKÜKÇh‘KàKíKêKòKú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=L=H=N=J=à=ä=å=Ü=¶=Ã=Œ=–>

?|?ö?ú?ñ?¢?¶?®?∏?¥?∂?¬g‰?∫?Ë?ƒ? ?≤?∞?Ã?º?Œ?‰?‚?fi?÷?ÿ?“?‹?‘?‡?Ú?ˆ??˙?Ï?Ó?§?û?ò?†?¨?™?∆?–?⁄gÊ?Ê@HBBB@BPB6BRBFh h h BDBHh BNBJC"C(CDCBCFCHCJC¿C∏C–C“CŒh@C÷C‘CËhBCÿC⁄CºD∞D¥D∂D∏DºD∫D∆D“D»DŒDÆD¿DƒD D–EpEûE∫EºF F F F F

F F F ‡ˇFíFîFºG

G G G G G G G hrG~GÜG‹G‰GËGÊG‡héGÏGÓhåG‚GfiGÍGH¿HæHºH¬I(I*I,I0I.h∫IºI∫I˛I‰J J

J J J J J K*K,K.K0K§K¶K¢K¨K≤K∂K∏K¥KºK™K∫K®KÆKƒKæK¬K∆L‚L‰M M M@M>M<MpMÃM–MŒN"N,NZNTNRNVN^N`NbNPhˆN‚NÊNËNÍNO h˙O OJP PVPZPfPlP^P`PdP\PnPpPrP|PzPÄPvPàPåPÇPíPêPxPtPöPòPúPîP§P¥P®i P¨PÆP≤P∂P‡ˇºP∫P∏PæPhPji PXPbPÑPéPÜPäPñPûP™SÑSÜSäSíSéSñSàSåSûS§SîSêS¢SòSúU

U U UXUZU\U^U`Udi|UfUhUjUbiÑUVV&V*V(VTVVVRVúiòV¢iöV®V¶V¨V∞V≤VÆV™VòVöV†V¥i¥X X X:X@X8X>X<XíXñXîi¿X‘X÷XÿX‹i¬X⁄X‡XfiXËX‰XÊY‘Y÷Y“Yÿi⁄Y⁄Y‡Y‚Y‰YÊYËYÏYÍY‹Y–YfiZåZéZê[ .[ [*[,[&["[0iÚ[$[2[6[4[8[¶[™[¨[Æ[®\:\<\>\D\T\J\@\F‡ˇ\H\Z\\\b\d\6\8\R\L\N\P\V\X\^^ ⁄^Ê^‰j _j_l_p_v_x_r_új _ö_∏_∫`` ` `Ñ`“`¯c⁄eÆ* * *$+\+f+`+d+h+j+l+t+r+v+x+z+|fZ+b+n+p, ,F,H,Jfd-‚-‹-ÿ-⁄--Ë-Í-Ê-Ï-Ó-Ú-Ù-˙-ˆ-¯f|-¸.. . -fi-‡-˛.ƒ/¿/∫/æ/¬/∆/»fê/ /Æ/∞/¥/∏fé/ƒfå/≤0,1Z1L1N1^1\1j1J1f1d1F1h1H1R1T1P1V1`f∞1b1X2 2 2 222>3 3 3 3 3 3$fË3‡ˇ"3 3&3ê3¥3∂f˙3∫3∏4 4 4 4 4 4\4ê4í5p5î5ñ5ö5¢5§5¶5¨5Æg,g*5ú5∞g26L6J6N6P7t7v7à7ò7î7ƒ7†7¢7ú7Æ7™7∞7≤7¨7∫7∂7p7®7 ¶7æ7º7¿7¬7∆7»7 7Ã7Œ7ñ7‘gJ7ûgL7∏7¥g`8∂8‚9b9fgz9l9j9p9h9n9V9Ã;f;j;l;û;p;Ä;~;Ñ;î;ê;ñ;|;v;t;é;®;Ç; ú;†;Æ;¨;T;∞;¥;∂;∏;º;∫;r;xg†;h;n;í;ä;òg¢;ö;z;à;¢;™;≤;æ=P=T=X=V=Z=R=é=®=“‡ˇ=ÿ=⁄=÷= ‘?˛gË@ @ @ @@

@ @ @ @ @ @ @ @ gÍ@&@*@,@.@2@4@D@B@<g@ ?Æ@ @ gÏ@0@"@$@(@6@8gÓ@>@FBpBVB`BZBfBdBbBXBÄBÇBTB\h BhBjBnBrBvBxBzB~h"BlC$CLCPCRh6CNCfiC‚C‡CÊCÍCÏC‹D‘DfiD‹D‡DÊD‰DÏD÷hNDÿD⁄D‚DËDÍhZErE xEtEñEæE¬E¿F F F hdF F F F&F8F*F F"F(F$FñF¨FæG G G G"G$G&G(htG.G G*GÄG¯GÙG¸HH‡ˇ H hêGÚH G˙H H híH G˛H∆H»HƒH I6I8I<h¥IBI2I4I:I@IDIîIñIòIæJ J J J J J J$J.J*J,J0J J&J(K6K4K2K K“K‘K÷K–KÃK‚KŒK‡KÿKfiKËh÷K»K⁄K‹M

M M M M MBMDMFMtMrM∞NdNfNjNlNnNhNpNrNvNåNzN~NÄNxNtN˙O O O O O P¿P¬PŒP PÃQ P–P“PfiP‰P‡PÍPÊP‹P‚PËPÏPÓPPÙP÷P⁄PˆP¸P˙P˛i QQ Q*Q Q Q

Q QdQ Q Q P»Q(Q&Q ‡GQ"i PƒP∆P‘PÿPÚQ i Q Q Q i Q Q$S¶S¥S™SÆS≤S∂S∏S®S∫SæS¬iBSƒS»S¨i~UniÇUvUlUtUpUriÄV"V.VXVZV ÷p‡ˇVbiîV^V\V∏VºV∫V¿iûV¬V∆VÃVŒV iúVæV»

Dec 17, 2017 3:08 PM in response to Dreamershearts

If that's the entire thing, that's almost nothing, as far as TextEdit trying to decipher binary as text.


Nothing readable to give you a clue, and unless this was very small, not enough to likely be any type of image.


You may never know what the recovery software pulled off the drive for this particular file is supposed to be. If anything. If could even just be resource fork data for a JPEG. Which wouldn't be the image itself, just the resource data. Which is typically the desktop icon, creation and modification dates, and other small data.

How do I repair JPG images?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.