Skip to content

Resize() is broken. #179

@daxpandhi

Description

@daxpandhi

Resize may be broken.

            var mm = new MagickImage(MagickColors.Black, 512, 1);
            Console.WriteLine(mm.Height); // result: 1
            mm.Resize(512,512);
            Console.WriteLine(mm.Height); // result: 1
            mm.AdaptiveResize(512,512);
            Console.WriteLine(mm.Height); // result: 512

When resizing from 512x1 to 512x512, Resize() returns the same result, but AdaptiveResize() works (but takes much longer, as expected).

Same for any resolution, not just 512x1. Seems to be affecting all builds 7.2 and above. Not tested on older builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions