How to rotate an image in GD Image Library while keeping transparency?

后端 未结 3 1264
执念已碎
执念已碎 2021-01-24 07:51

I\'m making a skin previewer for my site; I need to rotate parts of an image to create a representation of this for my users to see.

The skin is a PNG file, and all part

3条回答
  •  温柔的废话
    2021-01-24 08:41

    You may want to check here for some uses for libpng (which will need zlib). If you are on linux you can write something in perl. CPAN GD module might be your ticket.

提交回复
热议问题