Use correct arguments for LinearGradient in Fill command.
Use correct arguments for LinearGradient in Fill command.

It is now possible to create a gradient at any size and crop it in any region:

    magick-image('background-body.png', 100px, 480px,
      magick-composite(
        magick-image(100px, 480px,
          magick-fill(magick-linear-gradient(red, yellow)),
          magick-crop(0, 0, 100%, 50%)
        )
      ),
      magick-composite(
        magick-image(100px, 480px,
          magick-fill(magick-linear-gradient(blue, yellow)),
          magick-crop(0, 0, 100%, 50%)
        )
      , 0, 200px, 'Overlay')
    )

Crazy!

StanAngeloff/compass-magick,StanAngeloff/compass-magick