Import transparent image on Eeschema cause negative image

Bug #1814893 reported by Hildo Guillardi Júnior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Seth Hillbrand

Bug Description

Import a PNG image (use the attached one) in Eeschema cause a negative image. This not happens in the Page Layout Editor.

May be related with https://bugs.launchpad.net/kicad/+bug/1809845

Application: kicad
Version: 6.0.0-rc1-unknown-4a641ec~66~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-141-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :
Revision history for this message
Nick Østergaard (nickoe) wrote :

What do you mean by it causing a negative image?

What I have seen is that the bitmap2component does not work at all with transparent backgrounds in png's, but works fine if you just give it a black and white image.

tags: added: bitmap2component
Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

The transparent part o the image became black on Eeschema but not in Page Layout Editor (expected behavior).

tags: removed: bitmap2component
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 5da4e186644bfeb5d129de47bb77e8a6f05f6ddc
https://git.launchpad.net/kicad/patch/?id=5da4e186644bfeb5d129de47bb77e8a6f05f6ddc

Changed in kicad:
status: New → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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