Hello archet1337,
Quote:
Originally Posted by archet1337
Also, the attachment icon looks a bit weird. See attached image. How to fix this?
|
the problem is, that you are not using GD-Libary 2.0.36 (or later) and your image isn't using "color RGBA", but "gray+alpha". You can tell this problem by the vertical lines you get.
GD had a problem handling grayscale images with alpha channel correctly, wich was fixed with GD 2.0.36 in the Year 2007.
Quote:
GD 2.0.36 (2007-11-xx)
88, Fixed support of PNG grayscale image with alpha channel (Pierre)
|
https://bitbucket.org/pierrejoye/gd-...361a31aab/NEWS
The solution is to update the GD-Libary to 2.0.36 (or later) or replace every file which uses "gray+alpha" with an version using "color RGBA".
I would advise to update the GD-Libary, cause there is also a serious security problem, that was fixed in the Year 2009 by Debian.
Quote:
2009
libgd2 (2.0.36~rc1~dfsg-3+lenny1) stable-security; urgency=high
* Non-maintainer upload by the Security Team.
* Fixed CVE-2009-3546: possible buffer overflow or buffer over-read attacks via crafted files (Closes: #552534)
-- Giuseppe Iuculano <iuculano@debian.org> Mon, 09 Nov 2009 21:46:06 +0100
|
I am really shocked by this, since you are now the sixth person with this kind of problem and this fix is 4 years old and since 2 years known als high security fix by debian.
Best regards
Sebastian