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

Skip to content

imsave reduces 1row from the image #4280

@kushal124

Description

@kushal124

Steps to reproduce :

im= np.zeros((481,321))
plt.imsave('./test',im)

img = plt.imread('test.png')

img.shape[:2] != im.shape

img.shape is (480,321)

It removes one row !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions