Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. libpng warning: sBIT: invalid
Forum Updated to NodeBB v4.3 + New Features

libpng warning: sBIT: invalid

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 4.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    R3dp1ll
    wrote on last edited by
    #1

    Hello,

    I tried to put on a transparent background one of the "skins" of my buttons and since I have this error message.

    I tried to put the default image, to extract it in png with gimp (I heard that paint could create this kind of problems by exporting images) and then again with paint etc ... always the same problem.

    An idea ?

    jsulmJ 1 Reply Last reply
    0
    • R R3dp1ll

      Hello,

      I tried to put on a transparent background one of the "skins" of my buttons and since I have this error message.

      I tried to put the default image, to extract it in png with gimp (I heard that paint could create this kind of problems by exporting images) and then again with paint etc ... always the same problem.

      An idea ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @R3dp1ll Are you sure this is really a PNG file and not a JPEG with .png extension?
      See https://stackoverflow.com/questions/36855143/how-to-resolve-this-error-in-android-studio

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • R Offline
        R Offline
        R3dp1ll
        wrote on last edited by
        #3

        Thank you for your answer,

        I do not know, but I exported the image to PNG with gimp ! After if it puts me jpg hidden in PNG ...
        Probably a data to select or deselect when exporting to PGN gimp. But as I do not understand all the data ...

        You know what? I converted everything to .gif and that's it! I lost in quality but hey, at least it works!

        Thank you for the info.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved