Partially Corrupt JPEG Won't Show in Gthumb

Bug #361179 reported by Sb
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gthumb (Ubuntu)
Confirmed
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!

Revision history for this message
Sb (sb56637) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

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

Changed in gthumb (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
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

Revision history for this message
Sb (sb56637) wrote : Re: [Bug 361179] Re: Partially Corrupt JPEG Won't Show in Gthumb

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.