@Odinbic
that code can't work, the error is the uncommented first line.
here below the corrected code...please could you correct it also in your first message ?
#Picture In Picture V0.0a
#Written by step7 (2012)
#Mod by odinbc added Rotate option(2012-06-26)
#Insets a positionable, scalable 2nd image within a main image
#
#Wiring:
#in1 - Primary image
#in2 - Secondary image to be inset into primary image
#
#User Values:
#PiP_x, PiP_y - position inset image
#PiP_scale - Main image is scaled down by this factor
#when producing the inset (have fun with scaling <1)
#PiP_opacity - Sets the inset opacity
#
#
#Contact me about the filter on Gimp Chat Forum or Mathmap Google Group
#
filter geom_rotate (image in, float angle: 0-6.283)
in(ra + ra:[0, angle])
end
filter PiP(image in1, image in2, float PiP_x:-1-1 (0.6), float PiP_y:-1-1 (-0.6),float PiP_scale:0-16 (3.5),float PiP_opacity:0-1 (1))
qq=in2(xy:[(x-PiP_x)*PiP_scale,(y-PiP_y)*PiP_scale]);alp=alpha(qq)*PiP_opacity;in1(xy)*(1-alp)+qq*alp end
filter PIP_mod(image PiP_in1, float PiP_PiP_x : -1.000000 - 1.000000 (0.600000), float PiP_PiP_y : -1.000000 - 1.000000 (-0.600000), float PiP_PiP_scale : 0.000000 - 16.000000 (3.500000), float PiP_PiP_opacity : 0.000000 - 1.000000 (1.000000), image geom_rotate_in, float geom_rotate_angle : 0.000000 - 6.283000 (0.000000))
geom_rotate_out = geom_rotate(geom_rotate_in, geom_rotate_angle);
PiP_out = PiP(PiP_in1, geom_rotate_out, PiP_PiP_x, PiP_PiP_y, PiP_PiP_scale, PiP_PiP_opacity);
PiP_out(xy)
end