Skip to content

feat(oiiotool): flexible offset notation with commas#5209

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-geomformat
Open

feat(oiiotool): flexible offset notation with commas#5209
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-geomformat

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented May 20, 2026

Fixes #5207

Sometimes the WxH+X+Y and +X+Y notation (borrowed from X11!) can be a little awkward. This patch extends the accepted syntax to allow commas to separate the offset components, for example also accepting WxY,X,Y and X,Y.

This affects the commands

--create
--crop
--cut
--fit
--fullsize
--origin
--originoffset
--paste
--pattern
--printstats
--resize

Fixes 5207

Sometimes the `WxH+X+Y` and `+X+Y` notation (borrowed from X11!) can
be a little awkward. This patch extends the accepted syntax to allow
commas to separate the offset components, for example also accepting
`WxY,X,Y` and `X,Y`.

This affects the commands

    --create
    --crop
    --cut
    --fit
    --fullsize
    --origin
    --originoffset
    --paste
    --pattern
    --printstats
    --resize

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: oiiotool --offset syntax is not good with expressions

1 participant