Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized jpeg image #630

Open
markozar opened this issue Apr 17, 2023 · 0 comments
Open

Unrecognized jpeg image #630

markozar opened this issue Apr 17, 2023 · 0 comments

Comments

@markozar
Copy link

Hi, have a 4000x6000 jpeg image. I'm able to open it with various programs, Microsoft Paint included.

Some image metadata:

File Type: JPEG image data,
Exif standard: [[TIFF](https://www.checkfiletype.com/latest-results?q=TIFF) image data, little-endian, direntries=11,
manufacturer=NIKON CORPORATION,
model=NIKON D5300,
orientation=lower-left,
xresolution=180,
yresolution=188,
resolutionunit=2,
software=Ver.1.00 ,
datetime=2019:12:04 12:30:36,
GPS-Data],
baseline,
precision 8,
6000x4000,
frames 3

However, when trying to process it with cantaloupe, I get:

Not a JPEG file: starts with 0x00 0x00

javax.imageio.IIOException: Not a JPEG file: starts with 0x00 0x00
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:731)
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:725)
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.getWidth(JPEGImageReader.java:838)
	at edu.illinois.library.cantaloupe.processor.codec.AbstractIIOImageReader.getSize(AbstractIIOImageReader.java:195)
	at edu.illinois.library.cantaloupe.processor.AbstractImageIOProcessor.readInfo(AbstractImageIOProcessor.java:85)
	...

Cantaloupe selected the Java2dProcessor:

Java2dProcessor selected for format JPG (ManualSelectionStrategy offered ImageMagickProcessor, Java2dProcessor)

This is the link to the image:
https://ekultura.hr/media/view/a-41f6751e-2a5a-43ee-90d5-530818eea65f

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant