How to resize image in gtk(rust)?

I partially implemented it here:

I’m using image crate to load image, next I resize them to specific size, save them to .cache folder and at the end I load them from GTK.

This maybe not looks too optimal, but works really fast in most situation