I have next code for resizing images: Image image; image.read( imagePath.toStdString() ); Geometry newSize = Geometry(m_newSize.width(), m_newSize.height()); newSize.aspect(true); image.resize(newSize); image.write(newImagePath.toStdString()); This code work fine for non-gif files. For gif files I loss animation: How to resize gif files without animation loss?