View Single Post
Old July 9th, 2017, 11:29 PM   #4
theLoster
Senior Member
 
Join Date: Jun 2017
Posts: 135
Thanks: 421
Thanked 2,139 Times in 133 Posts
theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+theLoster 10000+
Default

Thanks for the heads up on ImageMagick. I've been playing around with it in php. I've been able to assemble various tiles together into a single image. The code I have for displaying it is
Code:
  header("Content-Type: image/png"); 
  $combined->setImageFormat("png");
  echo $combined;
The thing is, with that, the image is the only thing I can have on the webpage. Might you (or anyone) know how I can embed the contents of an ImageMagick image object as an html IMG object. I'd almost want to put something like
Code:
echo " <img alt=\"Embedded Image\" src=\"";
echo $combined;
echo "\">";
But I obviously have to do more to it than that since all I get is page after page of hieroglyphics.

(disclaimer: I don't know a whole lot about scripting, but I'm pretty good and copying examples and beating on it till I'm able to force it to do what I want)
theLoster is offline   Reply With Quote
The Following 2 Users Say Thank You to theLoster For This Useful Post: