You are not logged in.

#1 2022-08-22 04:36:57

radumitrescu
Member
Registered: 2022-05-17
Posts: 58

Image Viewer can't open large JPEGs. Error interpreting JPEG image.

While it will open images of aroung 4MP, anything larger than that it won't. Error interpreting JPEG image file (Backing store not supported)

I did some searching and it apparently is due to a memory limitation of libjpeg-turbo, however I wasn't able to find a way around that.

Any ideas?


Romanian street photographer with a passion for vintage lenses, beer and linux. Somewhat of a nerd.

Offline

#2 2022-08-22 05:12:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

What is "it" or "Image Viewer"?
Can you

display -define jpeg:size=2048x2048 catpicturenotporn.jpg

and what is the output of

identify catpicturenotporn.jpg

?

I did some searching and it apparently is due to a memory limitation of libjpeg-turbo

link or didn't happen - esp. when "memory limitation" is a meager "4MP" what sounds ludicrous.

Offline

#3 2022-08-22 10:53:15

radumitrescu
Member
Registered: 2022-05-17
Posts: 58

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

seth wrote:

What is "it" or "Image Viewer"?

My Image Viewer is The Eye Of Gnome Image Viewer.



seth wrote:

Can you

display -define jpeg:size=2048x2048 catpicturenotporn.jpg

Yes I can.


seth wrote:

and what is the output of

identify catpicturenotporn.jpg

?

2022-08-04__DSC07883.jpg JPEG 7956x5312 7956x5312+0+0 8-bit sRGB 39.0839MiB 0.000u 0:00.001
seth wrote:

link or didn't happen - esp. when "memory limitation" is a meager "4MP" what sounds ludicrous.

https://github.com/libjpeg-turbo/libjpe … issues/162

Last edited by radumitrescu (2022-08-22 10:53:29)


Romanian street photographer with a passion for vintage lenses, beer and linux. Somewhat of a nerd.

Offline

#4 2022-08-22 11:31:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

That's from 2017 and was a bug in libtiff.
It's now apparently a bug in gdkpixbuf: https://gitlab.com/libtiff/libtiff/-/is … 1071892902

Offline

#5 2022-08-22 11:37:28

radumitrescu
Member
Registered: 2022-05-17
Posts: 58

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

seth wrote:

That's from 2017 and was a bug in libtiff.
It's now apparently a bug in gdkpixbuf: https://gitlab.com/libtiff/libtiff/-/is … 1071892902

I see, so I should just sit tight and wait for a fix?


Romanian street photographer with a passion for vintage lenses, beer and linux. Somewhat of a nerd.

Offline

#6 2022-08-22 12:05:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

Apparently they've raised the limit to 300MB for the next release (so roughly 10.000x10.000px)
Ftr, the failing image is 40MP resulting in 121MB - despite being idiotic, the cut-off was not  4MP idiotic.

Offline

#7 2022-08-22 12:17:06

radumitrescu
Member
Registered: 2022-05-17
Posts: 58

Re: Image Viewer can't open large JPEGs. Error interpreting JPEG image.

seth wrote:

Apparently they've raised the limit to 300MB for the next release (so roughly 10.000x10.000px)
Ftr, the failing image is 40MP resulting in 121MB - despite being idiotic, the cut-off was not  4MP idiotic.

The 4MP was an estimation on my part. It was what I knew for certain it was able to open.


Romanian street photographer with a passion for vintage lenses, beer and linux. Somewhat of a nerd.

Offline

Board footer

Powered by FluxBB