Skip to content

Remove Frame x/y offset - #3065

Open
RunDevelopment wants to merge 1 commit into
image-rs:mainfrom
RunDevelopment:rm-frame-offset
Open

Remove Frame x/y offset#3065
RunDevelopment wants to merge 1 commit into
image-rs:mainfrom
RunDevelopment:rm-frame-offset

Conversation

@RunDevelopment

Copy link
Copy Markdown
Member

The x/y (or top/left) offsets in Frame weren't used anywhere. All decoders returned an offset of (0,0), and the GIF encoder (which takes frames) ignored frame offsets.

In this PR, I removed offsets from Frame and DecodedImageAttributes.

Aside: We may want to rename from_parts to with_delay.

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.

1 participant