Skip to content

Consider changing standard test image size #947

@wiredfool

Description

@wiredfool

I know we've just gone through a huge test update, but I think we should change the test image a bit more. (or at least, test with odd image sizes)

We're currently testing with a 128x128 image. There are at least 2 classes of (potential) bug that aren't hit by this:

  • Always getting the x,y order right, and checking the right bounds. If they're the same, we're never going to notice. If we're doing it backwards and the sizes are different, something should error.
  • There are some line size and padding code bits that are tickled with non aligned bits_samples_pixels.

I think it might be worth cropping the output of hopper to something like (121,127) and see what fails.

It's likely that a lot of the comparisons to the various hopper.* images would fail. It's probably not worth a changes that invalidates all of them.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions