Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gdk-pixbuf
gdk-pixbuf
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gdk-pixbufgdk-pixbuf
  • Issues
  • #20

Closed
Open
Opened Mar 31, 2009 by bugzilla-migration@bugzilla-migrationReporter

DNG images show as thumbnails, not the real image.

Submitted by Adam Buchbinder

Link to original bug (#577499)

Description

Please describe the problem: The embedded thumbnails, rather than the real images, in DNG files are displayed in apps that use gdk-pixbuf. I believe this is because it's being recognized as a TIFF image.

Steps to reproduce:

  1. Go to www.rawsamples.ch and download the DNG sample for a Leica M8. (It's 10MB, so I'm not attaching it here.)
  2. Open it with gthumb.

Actual results: The image displayed is 320x240.

Expected results: The full, 3920x2638, image should be displayed.

Does this happen every time? Yes; this is reproducible. The issue appears in gthumb, eog, and f-spot. I believe the problem is in gdk-pixbuf, since all three apps use it.

Other information: Decoding the image to a TIFF with dcraw allows me to view it properly; the image does not appear to have anything wrong with it.

$ dcraw -i -v RAW_LEICA_M8.DNG |grep size Thumb size: 320 x 240 Full size: 3920 x 2638 Image size: 3920 x 2638 Output size: 3920 x 2638

If the image is read as a TIFF, the thumbnail size is read:

$ tiffinfo RAW_LEICA_M8.DNG 2>/dev/null|grep Width Image Width: 320 Image Length: 240

gdk-pixbuf is displaying what we'd get if we tried to load the DNG as a TIFF.

$ tifftopnm RAW_LEICA_M8.DNG 2>/dev/null | head -2 | tail -1 320 240

This was originally reported on the Ubuntu bugtracker:

https://bugs.launchpad.net/ubuntu/+source/gdk-pixbuf/+bug/333388

Version: git master

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gdk-pixbuf#20