Jump to content

imagecreatefromstring HELP


HaLo2FrEeEk

Recommended Posts

I was wondering if anyone knew the differences between using imagecreatefromstring to create an image resource then using imagepng to output it, or simply echoing the image string.  I've used both, and both seem to be fairly latent, but I can't tell if imagecreatefromstring is faster or not, and I don't know whether or not just echoing it will create problems.  I would think that using the imagecreatefromstring would be slower becuase you're having to instantiate another resource and pass it along wheras if you are just echoing it, you will bypass that.

 

Any answers will be appreciated.

 

thx.

Link to comment
https://forums.phpfreaks.com/topic/60876-imagecreatefromstring-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.