Fixed an old issue with count...
Basic and incomplete PACK_* support, for gluScaleImage