Skip to content

Feature proposal: handling tileable images #427

@vpenades

Description

@vpenades

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I was wondering if there's any provision for handling tileable images... I know that brushes are tileable by default, but in most processors, image tiling/wrapping is simply not supported.

For example, let's say I have an image (texture) I know it's tileable, and I want to apply a gaussian blur with radius 5. The current behavior is that processed pixels close to a boundary would not take in account the pixels of the opposite boundary. The resulting image, when tiled, would show a noticeable sharp seam between tile limits.

Tipically when texture/tiling has an enumeration like this:

WrapModes:

  • None
  • WrapX
  • WrapY
  • MirrorX
  • MirrorY

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions