My code right now plots a function, and animates an image moving along the curve of the function. I want to reduce the size of the image for this animation but I can't figure out how. If I try to change
image = Import["image.png"] to
image = Import["image.png",ImageSize -> Tiny] it just makes the image blurry in the animation. This is the animation code:
Animate[Plot[{f[z]}, {z, 0, 50}, PlotRange -> {{0, 50}, {0, 10}}, Epilog -> Inset[image, {x, f[x]}]], {x, 0, 30}] Does anyone know how to fix this?



Inset, which is discussed here:Scale Insetted Characters to Plot $\endgroup$