Partially Corrupt JPEG Won't Show in Gthumb

Bug #361179 reported by Sb on 2009-04-14
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gthumb (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: gthumb

Hi there,

I am attaching a partially corrupt JPEG that my failing digital camera took. In most image viewers, the lower part of the image is just grey. But with Gthumb, it refuses to thumbnail or display the valid upper part of the image. EOG, however, is able to display the valid part of the image. Gthumb should display all valid parts of the image instead of just failing.

Thanks!

Sb (sb56637) wrote :
Pedro Villavicencio (pedro) wrote :

Confirmed, gthumb doesn't display it bug eog does it.

Changed in gthumb (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
mjc (mjc-avtechpulse) wrote :

eog uses a progressive loader that displays bits of the file as it reads it. Thus it shows some of the file before aborting.

gthumb reads the whole file first before displaying. Thus it fails before displaying. gimp does the same.

Anyway, there is no proper way to handle corrupt files. This isn't a bug, and it won't be fixed.

- Mike

Michael Chudobiak wrote:
> eog uses a progressive loader that displays bits of the file as it reads
> it. Thus it shows some of the file before aborting.
>
> gthumb reads the whole file first before displaying. Thus it fails
> before displaying. gimp does the same.
>
> Anyway, there is no proper way to handle corrupt files. This isn't a
> bug, and it won't be fixed.
>
> - Mike
>

How is this not a bug? Is it somehow preferable to lose ALL of a
corrupt file instead of at least seeing part of it? Is not EOG's
behavior preferable? So why couldn't Gthumb be made to use the same
progressive loading method? Doesn't seem like rocket science to me.

mjc (mjc-avtechpulse) wrote :

> Doesn't seem like rocket science to me.

Patches against trunk are welcome upstream, then.

- Mike

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments