After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671550 - pngdec: add support for video/x-raw-gray formats
pngdec: add support for video/x-raw-gray formats
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal enhancement
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-07 13:16 UTC by Andrej Gelenberg
Modified: 2012-03-12 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pngdec: add support for video/x-raw-gray formats (4.84 KB, patch)
2012-03-07 13:16 UTC, Andrej Gelenberg
none Details | Review
fix typo in the patch (4.84 KB, patch)
2012-03-07 14:16 UTC, Andrej Gelenberg
none Details | Review

Description Andrej Gelenberg 2012-03-07 13:16:03 UTC
Created attachment 209156 [details] [review]
pngdec: add support for video/x-raw-gray formats

We work with 16-bit gray PNG images in our project, so we need support for this. I attached my patch for the pngdec. It can be applied on 0.10.30 and on master branch.
Comment 1 Andrej Gelenberg 2012-03-07 14:16:36 UTC
Created attachment 209162 [details] [review]
fix typo in the patch
Comment 2 Wim Taymans 2012-03-12 14:19:22 UTC
commit 38372eb199fc38ce64d755ee4a0caeeb1c31446c
Author: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Date:   Wed Mar 7 13:39:50 2012 +0100

    pngdec: add support for video/x-raw-gray formats
    
    pngdec can now decode gray 8- and 16-bit images without alpha channel
    direct to video/x-raw-gray format. 16-bit gray images have big-endian
    format, because it's native PNG endianness. Gray images with alpha
    channel still converted to RGBA.
    
    Signed-off-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>