PHP script to render a single transparent pixel (PNG or GIF)

后端 未结 5 1978
甜味超标
甜味超标 2020-12-22 22:56

I have to create a PHP that will return an image stream of one transparent dot (PNG or GIF)

Could you point me to an easy to use solution?

5条回答
  •  暖寄归人
    2020-12-22 23:48

    In Linux you can convert it by typing in console:

    hexdump -v -e '"\\\x" 1/1 "%X"' image.gif; echo
    

提交回复
热议问题