Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
I currently try to use "ImagingFunctions" from Imaging Tools Extension, but i have some problems
1) I can't input image parameter. I try these two ways but none of them work
image: "/Thingworx/MediaEntities/DogJPG" /* IMAGE */
image: "C:\Users\Desktop\Thingworx8\ManU.jpg" /* IMAGE */
2) What is the meaning of these parameters?
Thanks!
Solved! Go to Solution.
var params = { image: inputimage /* IMAGE */, width: 760 /* NUMBER */, height: 400 /* NUMBER */ }; // result: IMAGE var result = Resources["ImagingFunctions"].ConvertImage(params);
Best regards,
Rajesh,
var params = { image: inputimage /* IMAGE */, width: 760 /* NUMBER */, height: 400 /* NUMBER */ }; // result: IMAGE var result = Resources["ImagingFunctions"].ConvertImage(params);
Best regards,
Rajesh,
Thanks Rajesh!
That works.