开发者

Combining images with PHP GD

I want to combine some images with PHPGD to create a CSS Sprite dynamically, though I have a problem. I haven't worked so much with GD and I barely managed to do it, but the problem is the images occupy much more space after I combine them. I did a test with 3 images that have 13KB altogether. Af开发者_如何学JAVAter I combine them the final result has 42.5KB.

Is there any solution to this without losing quality ?

Thanks


well 13KB * 3 = 42 KB thats right =)

maybe: http://sheldon.lendrum.co.nz/php-gd-library-css-sprites_416/08/ or something else?

there are many css sprite generators for php around (sourceforge ...)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜