Ruby VIPS image.write_to_memory yields different results in different environments
问题 We need to open an image and write its pixels to memory, so a C library can further process it. We're doing this with the lines below: image = Vips::Image.new_from_file(filename) pixels_pointer = image.write_to_memory However, it seems that what's written in memory differs per environment. We're testing this on a macOS High Sierra and on an Ubuntu Xenial via Docker, with vips-8.8.0 and ruby-vips (2.0.13) . We've MD5-ed the result of writing to memory: p Digest::MD5.hexdigest(pixels_pointer)