[Phpmyadmin-devel] New sprites implementation

Rouslan Placella rouslan at placella.com
Sat Oct 1 14:01:57 CEST 2011


On Sat, 2011-10-01 at 06:54 -0400, Marc Delisle wrote:
> Le 2011-09-30 14:59, Rouslan Placella a écrit :
> > Hi there,
> > 
> > I've just pushed the new sprites implementation to master and updated
> > the relevant wiki page [1]. Please take the time to read this
> > documentation. Thank you.
> > 
> > If you have any feedback on the matter, I'd love to hear it.
> > 
> > Rouslan
> > 
> > [1]: http://wiki.phpmyadmin.net/pma/Icons/Sprites_Usage
> 
> Rouslan,
> after using generate_sprites, all my icons now have a black background.
> Maybe this is related to the numerous errors I get, such as:
> 
> identify: invalid colormap index `s_vars.png' @
> error/image.c/SyncImage/3899.

Hi Marc,

Well, that's not good. Although I doubt that the errors from 'identify'
have anything to do with the issue, since that program is only used to
extract the height and width from image files. Do you get any errors
from 'convert'?

Anyway, under what OS were you running the script? What does "convert
--version" say? Also can you run the below commands and let me know what
the output is and what the resulting images look like?

cd /path/to/phpmyadmin/
convert -size 16x16 xc:none test1.png
convert test1.png themes/pmahomme/img/b_drop.png -composite test2.png
identify -ping test1.png
identify -ping test2.png

Thanks.

Rouslan





More information about the Developers mailing list