gems mini_magick 5.4.0

4 hours ago
  • Added :inherit_fds option for handing open file descriptors to the IM command, so an input that's already an open IO can be passed as /dev/fd/N instead of being written out to a file first:

    File.open("input.jpg", "rb") do |file|
      MiniMagick.identify(inherit_fds: [file]) do |identify|
        identify << "/dev/fd/#{file.fileno}"
      end
    end

    Thanks to @flavorjones for the contribution!

Don't miss a new mini_magick release

NewReleases is sending notifications on new releases.