Thanks to visit codestin.com
Credit goes to github.com

Skip to content

img:composite(source, x, y, compose) no vertical displacement #64

@coliflor

Description

@coliflor

`
local magick = require "magick"

local bg = magick.load_image("bg.png")
local compose = magick.load_image("h1.gif")
bg:composite(compose, 1000, 0, "XorCompositeOp")
compose:destroy()

bg:write("bg.png")
bg:destroy()
`
The image gets drawn but in the incorrect position, it should be (1000, 0) but the result is (0, 0)
with magick.gmwand the program works as intended

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions