Posted By

ChrisCantley on 06/29/10


Tagged

Cfimage


Versions (?)

Stacking images to one source


 / Published in: ColdFusion
 

  1. <cfset resultImage=ImageNew("", 520, 320)>
  2.  
  3. <!--- Paste first image --->
  4. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Background.png" name="imageSource">
  5. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  6.  
  7. <!--- Paste second image --->
  8. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/East Opt 1 Clay Harvest Wheat.png" name="imageSource">
  9. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  10.  
  11. <!--- Paste second image --->
  12. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Foreground.png" name="imageSource">
  13. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  14.  
  15. <!--- Paste second image --->
  16. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Side Window - English Pinewood.png" name="imageSource">
  17. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  18.  
  19. <!--- Paste second image --->
  20. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Bath Opt B Windows - English Pinewood.png" name="imageSource">
  21. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  22.  
  23. <!--- Paste second image --->
  24. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Porch w-Bkt - English Pinewood.png" name="imageSource">
  25. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  26.  
  27. <!--- Paste second image --->
  28. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Bedroom Opt 2 Windows - English Pinewood.png" name="imageSource">
  29. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  30.  
  31. <!--- Paste second image --->
  32. <cfimage action="read" source="config_tool2/Exteriors/EHO16663/Kitchen Opt 1 Windows - English Pinewood.png" name="imageSource">
  33. <cfset ImagePaste(resultImage, imageSource, 0, 0)>
  34.  
  35.  
  36. <cfimage action="writetobrowser" source="#resultImage#">

Report this snippet  

You need to login to post a comment.