Hi there, I've been having trouble with this filter:
<languageVersion : 1.0;>
< namespace : "Your Namespace";
vendor : "Your Vendor";
version : 1;
description : "your description";
input image4 src;
output pixel4 dst;
parameter float2 srcSize
dst = sampleNearest(src,outCoord()/srcSize*10.0);
Every time I run it, it says "Adobe Image Foundation has stopped working" and the entire program crashes. It works if I use a regular float2 parameter for srcSize.
Good catch. There's definitely a bug in the toolkit here. It appears to be a bad interaction between the parameterType and inputSizeName parameter metadata. I don't believe you need the inputSizeName parameter metadata to accomplish what you want, since your kernel only has a single input image. Try removing the inputSizeName key-value pair and use only the parameterType key-value pair. I'll log a bug about the crash. Hopefully, we can get it fixed for the next toolkit release.
Alright, thanks for the answer, but unfortunately, I only wrote this kernel as a demonstration of the bug, I can use a regular float2 parameter for now, but I'm glad it's not just me.