ImageSX

ImageSX -- 画像の幅を取得

説明

int imagesx(int im);

ImageSX は im を ID とする画像の幅を返します。

imagecreateおよび imagesyも参考にしてください。