jimp icon indicating copy to clipboard operation
jimp copied to clipboard

document image property access

Open tomprogers opened this issue 2 years ago • 1 comments

Jimp can modify an image in a lot of ways, but the documentation doesn't explain how a person can access the image's current properties. Like reading its current width or height.

Expand the API documentation to cover all the members of the object returned by Jimp.read(...).

The only alternative is to traipse through all of the jimp source code. That should not be necessary.

Add any other context or screenshots about the feature request here.

tomprogers avatar Sep 06 '21 17:09 tomprogers

So, how DO you get an image's current width and height? :)

Edit: Code completion seems to indicate there are .getWidth() and .getHeight() functions.

alfreema avatar Jul 07 '22 13:07 alfreema