INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: jpg files not readable by MC14 (but readable by all other programs)  (Read 2901 times)

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518

I have some jpg files of pictures I've taken that are not readable by MC14.
I can open them without problems in any other program I try (windows explorer, picasa, irfanview, paintbrush, etc.), but with MC all I get is an "Image failed to load" Information box.

If JR want to debug the problem, here's one of those files:
http://download239.mediafire.com/x2yzty49tqag/uyjz0yymxne/TibetNepal-20061018-144759.mg.jpg
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #1 on: July 29, 2009, 06:17:45 pm »

Could you email one to jimh at jriver?  The site wants a cookie.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #2 on: July 29, 2009, 06:50:59 pm »

XnView is unable to open the file either.



Daydream

  • Citizen of the Universe
  • *****
  • Posts: 771
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #3 on: July 29, 2009, 08:22:14 pm »

There is something funny going on. IrfanView will open the file as it is. Photoshop CS4 will warn that the file might be corrupted and will display everything except the last 8 horizontal lines at the bottom.

A double lossless rotation in IrfanView (flip vertical twice to get the same thing) will make the file readable everywhere. However the filesize differs 286 bytes due probably to internal storage optimization in IrfanView.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #4 on: July 29, 2009, 10:00:00 pm »

I wonder if it's a bad jpg file, even one of the specially crafted files used to exploit security holes.

I guess we'll find out.
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #5 on: July 29, 2009, 11:29:27 pm »

On a related note, MC fails to open CMYK jpeg files created by Illustrator.
Logged

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #6 on: July 30, 2009, 01:48:00 am »

Could you email one to jimh at jriver?  The site wants a cookie.

Jim, you have mail.
Logged

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #7 on: July 30, 2009, 01:54:56 am »


I wonder if it's a bad jpg file, even one of the specially crafted files used to exploit security holes.

Is there any way to check if that's the case?
The only programs I think I've used on those files are MC (for tagging) and Bulk Rename Utility (for file renaming). Except for that, the file in the url was never edited by me.
Unfortunately I don't have the original file created by the camera, because back then I didn't use to keep a backup of the original untouched camera files.

Logged

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #8 on: July 30, 2009, 02:43:32 am »

A double lossless rotation in IrfanView (flip vertical twice to get the same thing) will make the file readable everywhere. However the filesize differs 286 bytes due probably to internal storage optimization in IrfanView.


Yep, it works! Thanks for the workaround.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #9 on: July 30, 2009, 08:21:26 am »

The filename (TibetNepal-20061018-144759.mg.jpg) has two extensions, mg followed by jpg.

My e-mail program won't save it to the desktop.

Try renaming the file.
Logged

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #10 on: July 30, 2009, 08:32:53 am »

The filename (TibetNepal-20061018-144759.mg.jpg) has two extensions, mg followed by jpg.

My e-mail program won't save it to the desktop.

Try renaming the file.

ok, renamed and resent.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #11 on: July 30, 2009, 08:33:35 am »

I have the file and can reproduce the issue.

More later.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: jpg files not readable by MC14 (but readable by all other programs)
« Reply #12 on: July 30, 2009, 10:06:41 am »

The files are truncated.

It's a gray area, when an image fails inside a decoder for some reason, whether it's better to show what was decoded (although big chunks or even all of it could be junk) or to fail to load.

We were failing to load, but will change to showing as much as we can.

In Media Center 14.0.44 (available in about a week):
Changed: When loading corrupt / truncated JPEG files, as much of the image as possible will be shown instead of failing to load.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up