[Bug 192461] New: 16-bit TIFF render as 3x3 black & white mosaic

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] New: 16-bit TIFF render as 3x3 black & white mosaic

Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461

           Summary: 16-bit TIFF render as 3x3 black & white mosaic
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-1ubuntu3 (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

I've added a number of 16-bit TIFF to Digikam. Both thumbnails and previews
show a black & white mosaic (3x3) of the same picture while default Nautilus
image viewer renders them well.

Here is a screenshot of what is displayed under DigiKam:
http://natzo.com/capture.png

Here is what it should look like (as seen under Nautilus):
http://natzo.com/2008-04_Mithe-Demi_Finale_A_206-Mod.png

and here is the original TIFF file (45MB)
http://natzo.com/2008-04_Mithe-Demi_Finale_A_206-Mod.tif

Dany

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=192461


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Image Editor
            Version|unspecified                 |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

Marcel Wiesweg
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-25 15:40:12 ---
The given image has a separate planar configuration (TIFFTAG_PLANARCONFIG ==
PLANARCONFIG_SEPARATE) and is 16bit. For loading 16bit we cannot use libtiff's
convenience methods but use TIFFReadEncodedStrip directly.
Currently we do not support this type of image, I am not quite sure what is the
right way to interpret such tiles.
I found this
http://www.gnu-darwin.org/www001/ports-1.5a-CURRENT/graphics/xpaint/work/xpaint-2.7.8.1/rw/readTIFF.c
file as an example but they read row-by-row and 8bit data. We read
strip-by-strip and 16bit.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461





--- Comment #2 from Andi Clemens <andi clemens gmx net>  2009-12-05 00:13:52 ---
How is gwenview handling this? It is displayed correctly in there...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

Marcel Wiesweg
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-05 12:24:47 ---
I assume in Gwenview it's loaded in 8bit?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

Bugzilla from dany@natzo.com
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461


Dany <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #4 from Dany <dany natzo com>  2009-12-05 23:43:45 ---
Here is the result of my latest tests:
- showFoto KDE 4.3.4 : BAD
- ristretto 0.0.22 : GOOD
- GPicview 0.2.1 :GOOD
- Gwenview KDE 4.3.4 : GOOD
- fotoxx 8.8 : GOOD
- DigiKam 1.0RC : BAD

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

"Jens Müller"
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461





--- Comment #5 from Jens Mueller <tschenser gmx de>  2009-12-22 22:12:42 ---
Created an attachment (id=39265)
 --> (http://bugs.kde.org/attachment.cgi?id=39265)
PATCH

this patch add support for 16bit images with PLANARCONFIG_SEPARATE encoding in
tiffloader (fixes this bug)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic

"Jens Müller"
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461


Jens Mueller <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #6 from Jens Mueller <tschenser gmx de>  2009-12-27 18:12:55 ---
As you digikam-devels are the fastest bug-responsive crew on earth and there is
no feedback about the above patch I think the main problem is that I missed to
give some detailed infomation about. In case of PLANARCONFIG_SEPARATE every
strip do only contain one color channel. All strips of one color channel are
side by side to another, that means first there are stips containing blue, the
came all the strips containing green and so on. That's all.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|16-bit TIFF render as 3x3   |16-bit TIFF render as 3x3
                   |black & white mosaic        |black & white mosaic
                   |                            |[patch]




--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2009-12-27 18:18:00 ---
Thanks for explaination Jens. I think this bug is tracked by Marcel. Wait and
see...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

Marcel Wiesweg
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-27 21:32:28 ---
Sorry, it was sitting in a large pile of TODOs.
Have you updated your SVN checkout recently and merge the latest changes?
Currently the patch does no longer apply, there were some endianness bugs
fixed.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

"Jens Müller"
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461





--- Comment #9 from Jens Mueller <tschenser gmx de>  2009-12-27 23:57:46 ---
Created an attachment (id=39394)
 --> (http://bugs.kde.org/attachment.cgi?id=39394)
updated version of the patch

As I do not own a big-endian machine, i can not guarantee that color channels
are mapped right on powerpc.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

Marcel Wiesweg
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #10 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-29 15:14:27 ---
SVN commit 1067391 by mwiesweg:

Support loading 16bit TIFFs with TIFFTAG_PLANARCONFIG == PLANARCONFIG_SEPARATE.
Applying patch by Jens Müller, thank you.

BUG: 192461

 M  +2 -1      NEWS  
 M  +114 -14   libs/dimg/loaders/tiffloader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1067391

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.1.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 192461] 16-bit TIFF render as 3x3 black & white mosaic [patch]

bugzilla_noreply
In reply to this post by Bugzilla from dany@natzo.com
https://bugs.kde.org/show_bug.cgi?id=192461

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ImageEditor                 |FilesIO-TIFF

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