Understanding ImageMagick's convert and translating to Ruby RMagick

前端 未结 5 1518
暗喜
暗喜 2021-01-13 15:06

I\'m failing at translating the following PHP/ImageMagick code into Ruby RMagick (to make it more manageable for future users and to understand what it\'s really doing):

5条回答
  •  醉话见心
    2021-01-13 16:00

    why did you not copy just the command and call it with system ?

    no gems required ... no questions, code should look almost the same.

    EDIT: RMagic only wraps imagemagic so why to bother with rmagic if you already have imagmagic command string.

提交回复
热议问题