Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML video size annotation #4563

Merged
merged 6 commits into from
Nov 4, 2024
Merged

HTML video size annotation #4563

merged 6 commits into from
Nov 4, 2024

Conversation

jkrumbiegel
Copy link
Member

png images written out via inline html are already sized using their logical size (not final bitmap size) given px_per_unit. This PR adds the same for videos so that you get this look by default in environments like quarto:

image

and not this instead

image

src/recording.jl Show resolved Hide resolved
@MakieBot
Copy link
Collaborator

MakieBot commented Nov 4, 2024

Benchmark Results

SHA: c5c23fc9afc0a5b107d56751e36620d04e434704

Warning

These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking.

GLMakie
CairoMakie
WGLMakie

@jkrumbiegel jkrumbiegel merged commit 743a443 into master Nov 4, 2024
21 of 22 checks passed
@jkrumbiegel jkrumbiegel deleted the jk/html-video-size branch November 4, 2024 18:54
@ffreyer
Copy link
Collaborator

ffreyer commented Nov 4, 2024

Why change root_scene to scene? Isn't that just less descriptive?

@jkrumbiegel
Copy link
Member Author

Discussed that with Simon separately, just to get the interface of the different screen types straightened out a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants