Is there a bug with opening .jpg images in ArcGIS Pro 2.7?

1177
6
02-16-2021 12:35 PM
Amadeus111
Occasional Contributor II

I am developing a module which pulls aerial images into TOC. I don't have any problem with .tif files but .jpgs. 

Here is an example of .jpg image file set 

OguzSariyildiz_0-1613513714704.png

OguzSariyildiz_1-1613513797737.png

 

 

I am able to get the image on the map and TOC but then AGP begins hanging forever. I tried it manually I had the same result. I can open the same file in ArcMap without a problem. 

 

Tags (3)
0 Kudos
6 Replies
DanPatterson
MVP Esteemed Contributor

the second file has no extension(?) presumably the *.jpg?


... sort of retired...
0 Kudos
Amadeus111
Occasional Contributor II

Hi @DanPatterson ,

Yes, it is a jpg file. I did not get the screenshot wide enough. 

0 Kudos
DanPatterson
MVP Esteemed Contributor

not following .... .jpg.aux is a lot longer than .jpg

hence my question about the missing file extension


... sort of retired...
0 Kudos
Amadeus111
Occasional Contributor II

That is how Windows Explorer shows the files in Details mode. I have updated the picture. 

0 Kudos
KenBuja
MVP Esteemed Contributor

If you have the "Hide extensions for known file types" option turned on in the File Explorer, it won't show extensions like jpg, but it will show the ones like .jpg.ovr. For example, if I view a few TIF folders in one directory, this is what it looks like with the option on vs off

on.png

off.png

0 Kudos
DanPatterson
MVP Esteemed Contributor

 "Hide extensions for known file types"    ---- grief


... sort of retired...
0 Kudos