How to improve resized image quality in gtk+3 c? <p>I use this code for resize an image in gtk+3 c:</p> <pre><code>void set_img_zoom() { GdkPixbuf *img1buffer_resized; img1buffer_resized = gdk_pixbuf_scale_simple(img1buffer, width, height, GDK_INTERP_NEAREST); gtk_image_set_from_pixbuf(GTK_IMAGE(img1), img1buffer_resized); //set crop area to zero dest_width = 0; dest_height = 0; } </code></pre> <p>This is my oroginal image:</p> <p><a href="https://i.stack.imgur.com/1tmeA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1tmeA.png" alt="enter image description here"></a></p> <p>but when size of image is big, the image quality is disturbed when I resize it:</p> <p><a href="https://i.stack.imgur.com/8qqkV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8qqkV.png" alt="enter image description here"></a></p> <p>I change <code>GDK_INTERP_NEAREST</code> to another but it doesn't well done. how to improve it?</p>