I have a script that creates an image. I have to make a common format like GIF, JPEG or PNG out of it and convert it to base 64, later on.
When doing this, I do not want to save the image on the server, nor I want any browser output. So imagepng() seems not right command for this.
Any ideas?