[#1684] fix Images.resize, Images.crop: memory leak (imagewriter not disposed)