Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

32bit matlab on 64bit platform can not open .jpg

Asked by Naz

Naz (view profile)

on 21 Jan 2013

I installed a 32-bit student MatLab version on Win7 64Bit. When I try to import an image.jpg, it complaints about the endian signature:

Warning: The JPEG Exif header was read as "http:/" instead of "Exif ", the image file name be corrupt. Warning: Encountered a problem while processing Exif metadata: 'The endian signature [47 110] of "C:\Users\admin\Documents\MATLAB\Senior Design\my_functions\A.jpg" is neither [77] (big-endian) nor [73 73] (little endian), the image file may be corrupt.'.

0 Comments

Naz

Naz (view profile)

Products

No products are associated with this question.

2 Answers

Answer by Walter Roberson

Walter Roberson (view profile)

on 21 Jan 2013
Accepted answer

It sounds as if your image.jpg is not an image at all, and is instead a text file that contains a URL.

1 Comment

Naz

Naz (view profile)

on 21 Jan 2013

My bad. The Program that generates images assigns weird names to them. When I was dropping it into MatLab, the image was recognized as a 2D (whereas the image was a 2Dx3 RGB). So when I tried to read it, the error was popping out. After I changed the image name (which was not really "image"), no more problems occurred.

Walter Roberson

Walter Roberson (view profile)

Answer by Jan Simon

Jan Simon (view profile)

on 21 Jan 2013

Can any other software open this image?

0 Comments

Jan Simon

Jan Simon (view profile)

Contact us