[Digikam-devel] [Bug 298265] Embedded preview changes from full to reduced size regardless album view settings [patch]

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Jul 8 16:34:46 BST 2012


https://bugs.kde.org/show_bug.cgi?id=298265

--- Comment #37 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
Andreas, I think you need to help us with that a bit.
We dont need any PreviewManager extension, we have an ExifData object in memory
here and need to strip it.

There's a bunch of makernotes which I'd simply remove. Some of them can be
found in 
static const PreviewTags filteredPvTags[] in exif.cpp, some more seem to be in
const LoaderExifDataJpeg::Param LoaderExifDataJpeg::param_[] in preview.cpp.

We remove any trace of Exif.SubImage[1-4].*

I'm unsure about the relevance of these (from preview.cpp):

        { "Exif.Image.JPEGInterchangeFormat",    
"Exif.Image.JPEGInterchangeFormatLength",     0 }, // 0
"Exif.SubThumb1.JPEGInterchangeFormatLength", 0 }, // 5
        { "Exif.Image2.JPEGInterchangeFormat",   
"Exif.Image2.JPEGInterchangeFormatLength",    0 }, // 6
        { "Exif.Image.StripOffsets",              "Exif.Image.StripByteCounts",
                0 }, // 7
        { "Exif.OlympusCs.PreviewImageStart",    
"Exif.OlympusCs.PreviewImageLength",          "Exif.MakerNote.Offset"}  // 8

and 

        { "Image",     "Exif.Image.NewSubfileType",     "1" },  // 0
        { "Thumbnail", 0,                               0   },  // 6
        { "Image2",    0,                               0   }   // 7

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list