Created
September 21, 2020 17:25
-
-
Save trycf/10261f1e2e3177d9894eb637d93d8591 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
img=imageRead("https://avatars1.githubusercontent.com/u/10973141?s=280&v=4") | |
cfimage(action="writeToBrowser", source=img); | |
imageCrop(img,50,10,100,100); | |
crop= { | |
image: image, | |
x: 50, | |
y: 10, | |
height: 100, | |
width: 100 | |
}; | |
imageCrop(argumentCollection=crop); | |
cfimage(action="writeToBrowser", source=img); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment