Photos: 256 vs RGB

Photos: 256 vs RGB

por Eric Wilbanks -
Número de respostas: 3
For some reason, I cannot seem to get Moodle to accept photos for upload that are output as rgb-jpg files. All such files show up as solid black after upload. I have no problem with 256-color gif or png files. Any explanation?
Media de puntuacións: -
En resposta a Eric Wilbanks

Re: Photos: 256 vs RGB

por Martin Dougiamas -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Moodle HQ Imaxe de Particularly helpful Moodlers Imaxe de Plugin developers Imaxe de Testers
Wierd. Are you using GD 1 or GD 2?
En resposta a Martin Dougiamas

Re: Photos: 256 vs RGB

por Eric Wilbanks -

GD Version: bundled (2.0 compatible)

I even tried finding the file itself (the solid black "f1" file and replacing it with a jpg named "f1." Of course, it wouldn't let me do that...denied me access to the file.

En resposta a Martin Dougiamas

Re: Photos: 256 vs RGB

por Jonathan Grubbs -

I am working with Eric Wilbanks. When the host installed GD 1.x the image upload in Moodle worked fine, but stopped working with the upgrade to 2.0 compatible.

It is GD 2, here is the information from our phpinfo.php file:

GD Support enabled
GD Version bundled (2.0 compatible)
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled