Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11000

Profile does not support transparent PNG images properly

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 1.9
    • General
    • None
    • GD 2

      Uploading transparent PNG images to your profile causes the transparent colour to be made black.

      I implemented a fix for this for Mahara today, maybe Moodle is interested in it too . Patch for Mahara is here:

      http://git.catalyst.net.nz/gitweb?p=mahara.git;a=commitdiff;h=bfaa89d7ec77e2f47657783af277e78e6824a39a

      I think your gdlib.php, function imagecopybicubic is what needs to be patched, but it's after midnight here and I don't know the moodle codebase so well, so will leave the details to someone else

        1. patch.tar.gz
          0.5 kB
        2. patch.zip
          2 kB

            skodak Petr Skoda
            nigel Nigel McNie
            Nobody Nobody
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.