Skip to content

Add support for mirroring in the URL #2

@jackwilsdon

Description

@jackwilsdon

Currently the Generate and GenerateImage methods accept arguments specifying whether or not the image should be mirrored on the X and Y axis, but it is hard-coded to mirror only on the X axis in the server request handler.

It'd be nice to have support for specifying how to mirror the image in the URL, much like how image size is specified;

https://ppic.now.sh/example.png?mirror=x,y

Or possibly;

https://ppic.now.sh/example.png?mirrorX=false&mirrorY

(where no value is true)

We should probably still default to mirroring on the X to preserve images as they are now.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions