How to save a base64 string as an image using ruby

前端 未结 4 1090
抹茶落季
抹茶落季 2020-11-29 23:26

I\'m integrating my Ruby on Rails app with a usps shipping system. Once you make a postage request, you pay for that postage and it\'s nonrefundable.

Postage reques

4条回答
  •  旧巷少年郎
    2020-11-30 00:16

    If you need to write it to an image then use imagemagick through the rmagick gem.

    http://rmagick.rubyforge.org/

提交回复
热议问题