Skip to content

documentation on pixel access #31

@ghost

Description

what is the syntax for getting the value of a pixel?

I have loaded an image and have tried:

width, length = myimage:size() --this works

but there does not appear to be a method in Image.lua that gives pixel access, does one need to be written? something like, Image:get_pixel(x,y) that returns a value and/or Image:get_pixels(x,y,w,h) that returns a table of values indexed by column, row.

or can MagickGetImagePixels be used?

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