Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Add automation function to get pixel value #52

Closed
wants to merge 1 commit into from
Closed

Add automation function to get pixel value #52

wants to merge 1 commit into from

Conversation

seproDev
Copy link

@seproDev seproDev commented May 5, 2022

Not sure if you still accept PRs, but this patch adds aegisubdc.get_pixel_value(int frameNumber, int x, int y) to the lua automation api. Return value is a string in AssOverrideFormat e.g. &H030201&.

I added the function to a new aegisubdc namespace instead of aegisub to make sure that people know it wont work in other builds. Alternatively the function could be added to the aegisub namespace in hopes that it will at some point be added to the main repo.

@seproDev
Copy link
Author

seproDev commented May 6, 2022

Superseded by #53

@seproDev seproDev closed this May 6, 2022
@seproDev seproDev deleted the get-pixel-value branch February 18, 2024 14:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant